public async Task <IActionResult> AddTaskAsync([FromBody] WeatherForecastModel weatherForecastModel) { return(Created("", await _forecastRepository.AddTaskAsync(weatherForecastModel))); }
public async Task <IActionResult> AddTaskAsync([FromBody] WeatherForecastModel weatherForecastModel) { return(Created("", await _forecastRepository.AddTaskAsync(weatherForecastModel))); }