/// <summary> /// Вызов поплнения счета /// </summary> /// <param name="sender"></param> private void Add(object sender) { var mediator = new AccountToClientMediator(SelectedClient, SelectedAccount); mediator.Transaction(); }
/// <summary> /// Вызов снятия со счета /// </summary> /// <param name="sender"></param> private void Withdraw(object sender) { var mediator = new AccountToClientMediator(SelectedClient, SelectedAccount, true); mediator.Transaction(); }