Exemple #1
0
 public void Undo()
 {
     _to.Debit(_money);
     _from.Add(_money);
 }
Exemple #2
0
 public void Credit(double amount, Account debitedAccount)
 {
     Credit(amount);
     debitedAccount.Debit(amount);
 }