Example #1
0
        public void Deposit(decimal amount)
        {
            var transaction = new Transaction(dateProvider.TodaysDate, amount);

            transactionsStore.SaveNew(transaction);
        }
Example #2
0
 public void SaveNew(Transaction transaction)
 {
     transactionsStoreMock.SaveNew(transaction);
 }