public async Task <ActionResult <IEnumerable <WeatherResponse> > > Get([FromQuery] string cities) { if (cities == null) { return(BadRequest("cities should not be null, Pleas add ?cities=<cityName>")); } var result = await _temperatureService.ProcesRequests(cities.Split(",").ToList()); return(Ok(result)); }