Esempio n. 1
0
 public SmallWeeklyViewModel(string city)
 {
     smallWeeklyModel = new Model.SmallWeeklyModel(city);
     UserCity         = city;
     weatherDB        = smallWeeklyModel.getWeeklyForecast(city);
     SearchCommand    = new Command.SearchCommand(this);
 }
Esempio n. 2
0
 public SmallWeeklyViewModel()
 {
     smallWeeklyModel = new Model.SmallWeeklyModel(userCity);
     UserCity         = "jerusalem";
     weatherDB        = smallWeeklyModel.getWeeklyForecast(UserCity);
     SearchCommand    = new Command.SearchCommand(this);
 }