Created
May 19, 2021 12:34
-
-
Save ssukhpinder/185da3908a7abeab1b9e167c8d245a07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Query | |
{ | |
public async Task<ICollection<TodoReader.WeatherForecast>> GetTodosAsync( | |
[Service] TodoService service, | |
CancellationToken cancellationToken) | |
{ | |
return await service.WeatherForecastAsync(cancellationToken); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment