public WeatherItem(WeatherDbItem weather, CountryDbItem country) { Weather = weather; Country = country; }
public static List <WeatherItem> WeatherResponseToWeatherDbItems(List <WeatherDbItem> weatherDbItems, CountryDbItem country) { return(weatherDbItems.Select(x => new WeatherItem(x, country)).ToList()); }