Exemplo n.º 1
0
        public async Task <GetWeatherResponse> GetWeather(GetWeatherRequest request)
        {
            var weatherItems = await OpenWeatherMapWebClient.GetWeatherItems(request);

            var googleTimeZones = await GoogleTimeZonesWebClient.GetTimeZones(weatherItems);

            return(await ResponseFactory.CreateGetWeatherResponse(weatherItems, googleTimeZones));
        }