private void OnBackCommandExecute() { _rootViewModel.ChangePage(new ClientHallViewModel(_user, _reservation, OrderedDishes)); }
private void OnBackCommandExecute() { _rootViewModel.ChangePage(_parentViewModel); }
private void OnOrderCommandExecute() { _parentViewModel.ChangePage(new ClientHallViewModel(_user)); }
private void OnBackCommandExecute() { OrderedDishes.Remove(_bonusDish); _rootViewModel.ChangePage(new ClientMenuViewModel(_user, _reservation, OrderedDishes)); }
private void OnBackCommandExecute() { _rootViewModel.ChangePage(new ClientMainViewModel(_user)); }
private void OnEnterCommandExecute() { _parentViewModel.ChangePage(new EnterViewModel(_parentViewModel, this)); }
private void OnBackCommandExecute() { IViewModel root = ViewModelManager.GetFirstOrDefaultInstance <MainWindowViewModel>(); root.ChangePage(_parentViewModel); }