Exemplo n.º 1
0
 public void Edit(Account account)
 {
     _accountEditEditVM.Setup(AccountEditType.EditAccount, account);
     _windowManager.ShowDialog(_accountEditEditVM);
     Accounts.Refresh();
     _greetingVM.NotifyAccountChanged();
 }
Exemplo n.º 2
0
        public void AddNew()
        {
            _accountEditVM.Setup(AccountEditType.AddAccount);
            _windowManager.ShowDialog(_accountEditVM);

            _greetingVM.NotifyAccountChanged();
            _greetingVM.IsShown = true;
        }