public WeatherMainModel(CityObject city) : base(city)
 {
     ForecastWeather = new WeatherForecastModel(city);
 }
Beispiel #2
0
 public WeatherForecastViewModel(WeatherForecastModel model) : base()
 {
     _model    = model;
     _forecast = model.Forecast;
 }