Ejemplo n.º 1
0
        public List <SubCategoryVO> FindAll()
        {
            List <SubCategoryVO> subCatList;

            using (var subCategoryAccessor = new SubCategoryAccessor())
            {
                subCatList = subCategoryAccessor.Repo.All.ToList();
            }
            return(subCatList);
        }
Ejemplo n.º 2
0
        public IQueryable <SubCategoryVO> GetAll()
        {
            IQueryable <SubCategoryVO> qSubCategory;

            using (var subCategoryAccessor = new SubCategoryAccessor())
            {
                qSubCategory = subCategoryAccessor.Repo.All;
            }
            return(qSubCategory);
        }
Ejemplo n.º 3
0
 public SubCategoryBL()
 {
     _subCategoryAccessor = new SubCategoryAccessor();
 }