Пример #1
0
        public void Income_ValidateFields_True()
        {
            income.PayingInSlip = "000124";

            var actual = income.FieldsValidated();

            Assert.IsTrue(actual);
        }
Пример #2
0
 public void Update(Income income)
 {
     if (income.FieldsValidated())
     {
         incomeRepository.Update(income);
     }
 }
Пример #3
0
 private void Add(Income income)
 {
     if (income.FieldsValidated())
     {
         incomeRepository.Add(income);
     }
 }