Ejemplo n.º 1
0
 public void OpenSelectedAccount()
 {
     _popupPresenter.CatchPossibleException(() =>
     {
         var client = _clientDetailsView.GetSelectedAccount();
         _accountDetailsPresenter.SetAccount(client);
         _accountDetailsPresenter.Display();
     });
 }
Ejemplo n.º 2
0
        public void CloseTheAccount()
        {
            _popupPresenter.CatchPossibleException(() =>
            {
//                if (_accountDetailsReport == null)
//                    return;

                _bus.Publish(new CloseAccountCommand(_accountReport.Id));

                _accountDetailsView.Close();
            });
        }
Ejemplo n.º 3
0
 public void OpenSelectedClient()
 {
     _popupPresenter.CatchPossibleException(() =>
     {
         var client = _clientSearchFormView.GetSelectedClient();
         _clientDetailsPresenter.SetClient(client);
         _clientDetailsPresenter.Display();
     });
 }