public static Task <IReadOnlyList <WeatherForecast>?> GetForTodayAsync(this IWeatherForecastClient client, CancellationToken cancellationToken = default) => client.GetAsync(1, cancellationToken);
public async Task <IEnumerable <WeatherForecast> > GetAll() { return(await _weatherForecastClient.GetAsync()); }