예제 #1
0
 public NewMenuItemViewModel(MenuViewModel menuViewModel)
 {
     _menuViewModel = menuViewModel;
     Groups         = _menuViewModel.GetGroupItemsNames();
 }
 public UpdateViewModel(MenuViewModel menuViewModel)
 {
     _menuViewModel = menuViewModel;
     ItemName       = _menuViewModel.SelectedMenuItem.ItemName;
     _itemOldPrice  = _menuViewModel.SelectedMenuItem.Price.ToString();
 }