Beispiel #1
0
 public void Transfer(decimal amount, Account toAccount)
 {
     Balance -= amount;
     toAccount.Receive(amount, this);
     _transactions.Add(new Transaction(-amount, _dateProvider(), Id, toAccount.Id));
 }