public void LoadAllClosedPeriod() { PeriodRepository repo = new PeriodRepository(); IList<PayrollPeriod> list = repo.LoadAllPeriod(); Assert.AreEqual(2, list.Count); }
public IList<PayrollPeriod> FindAllPublishedPeriod() { PeriodRepository repo = new PeriodRepository(); return repo.LoadAllPeriod(); }