public void Deposit(int amount) { var deposit = new Transaction(amount, _calendar.GetNow()); _accountRepository.AddTransaction(deposit); }