Exemple #1
0
        // A list of the resources required for this TaskFactory to communicate with, and construct the methods for the API communication and BusinessLogic
        /// <summary>
        /// The method used to update the weather information in memory
        /// </summary>
        /// <returns></returns>
        public async Task UpdateWeatherInformation()
        {
            baseInfoResponse = await _weatherService.GetBaseKeyInfoAboutWeatherLocations();

            weatherStationInfoResponse = await _weatherService.GetFullListOfTemperatures(baseInfoResponse);

            percipitationResponse = await _weatherService.GetLundPercipitation(baseInfoResponse);
        }