Esempio n. 1
0
        public void AddNewExpense_ProperExpense_True()
        {
            int    id          = 1;
            string description = "desc.";

            var returnedId = repository.AddNewExpense(id, description);

            returnedId.Should().Be(id);
        }
Esempio n. 2
0
 public int AddNewExpense(decimal value, string description)
 {
     return(_expenseRepository.AddNewExpense(value, description));
 }