예제 #1
0
        public void LoadAllCPCCustomerClasses()
        {
            var repo        = new CustClassRepository();
            var custClasses = repo.GetAllByCompanyId();

            Assert.IsNotNull(custClasses);
            Assert.IsTrue(custClasses.Count > 0);
            Assert.AreEqual(custClasses.Count, 3);
        }
예제 #2
0
 public List <CustClass> GetCustClasses()
 {
     return(_custClassRepo.GetAllByCompanyId().ToList());
 }