コード例 #1
0
 private void OnDeleteCommandExecute()
 {
     OrderedDishes.Remove(SelectedOrderedDish);
     TotalSum = _sumCalculator.GetCurrentOrderedSum();
 }
コード例 #2
0
 private void OnBackCommandExecute()
 {
     OrderedDishes.Remove(_bonusDish);
     _rootViewModel.ChangePage(new ClientMenuViewModel(_user, _reservation, OrderedDishes));
 }