Пример #1
0
 public AddRestaurentViewModel()
 {
     AddRestaurantDetails = new Command(AddRestaurant);
     user = MainPageViewModel.GetCurrentUser();
 }
Пример #2
0
 public CategoryViewModel()
 {
     user           = MainPageViewModel.GetCurrentUser();
     Submit         = new Command(SubmitCategory);
     RestaurantList = GetAllRestaurants();
 }