コード例 #1
0
        /// <summary>
        /// Вызов поплнения счета
        /// </summary>
        /// <param name="sender"></param>
        private void Add(object sender)
        {
            var mediator = new AccountToClientMediator(SelectedClient, SelectedAccount);

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

            mediator.Transaction();
        }