public IEnumerable <WeatherForecast> WeatherForecasts(int startDateIndex) { return(forecasts.Get(startDateIndex)); }
public async Task <IActionResult> GetSingleWeatherForecast(string weatherForecastID) { return(Ok(await _weatherRepository.Get(weatherForecastID))); }
public IEnumerable <WeatherForecast> Get() { return(_weatherForecastRepository.Get()); }
public IEnumerable <WeatherForecast> GetWeatherForecast() => _weatherForecastRepository.Get();