Пример #1
0
 private void ParseForecast(Channel channel)
 {
     Place     = $"{channel.location.city}, {channel.location.country}";
     Degrees   = Convert.ToInt32(channel.item.condition.temp);
     Condition = channel.item.condition.text;
     ImageUrl  = _forecastService.GetImageUrlFromCode(channel.item.condition.code);
 }