Exemple #1
0
        public void WithdrawMoney(Account acc, double sum)
        {
            ITransaction transaction = new WithdrawMoney(acc, sum);
            var          res         = transaction.Execute();

            if (res)
            {
                _history.Push(transaction);
            }
        }