public void LoadAllCPCCustomerClasses() { var repo = new CustClassRepository(); var custClasses = repo.GetAllByCompanyId(); Assert.IsNotNull(custClasses); Assert.IsTrue(custClasses.Count > 0); Assert.AreEqual(custClasses.Count, 3); }
public List <CustClass> GetCustClasses() { return(_custClassRepo.GetAllByCompanyId().ToList()); }