public async Task <IActionResult> WeatherForecasts() { try { var resfromWebapi = await _weatherDataService.GetWeatherForcastData(); return(StatusCode(200, resfromWebapi)); }catch (MicroServiceCallException ex) { return(StatusCode(503, Json("Could get data from microservices"))); } }