public void Edit(Account account) { _accountEditEditVM.Setup(AccountEditType.EditAccount, account); _windowManager.ShowDialog(_accountEditEditVM); Accounts.Refresh(); _greetingVM.NotifyAccountChanged(); }
public void AddNew() { _accountEditVM.Setup(AccountEditType.AddAccount); _windowManager.ShowDialog(_accountEditVM); _greetingVM.NotifyAccountChanged(); _greetingVM.IsShown = true; }