Ejemplo n.º 1
0
        public void Send(Account payee, int amount)
        {
            var transaction = new Transaction(payee.Id, Id, amount);

            Balance -= amount;
            payee.Receive(transaction);

            History.Add(transaction);
        }