Esempio n. 1
0
 public FillFoodPageViewModel(IPageService pageService, IFoodStore foodStore)
 {
     _pageService = pageService;
     _foodStore   = foodStore;
     Food         = new FoodViewModel();
     //
     AddCommand = new Command(OnAddClicked);
 }
Esempio n. 2
0
 public FoodViewModel(FoodViewModel x)
 {
     ID    = x.ID;
     Name  = x.Name;
     IMG   = x.IMG;
     Desc  = x.Desc;
     SL    = x.SL;
     Price = x.Price;
 }