public void Income_ValidateFields_True() { income.PayingInSlip = "000124"; var actual = income.FieldsValidated(); Assert.IsTrue(actual); }
public void Update(Income income) { if (income.FieldsValidated()) { incomeRepository.Update(income); } }
private void Add(Income income) { if (income.FieldsValidated()) { incomeRepository.Add(income); } }