Esempio n. 1
0
        public List <SubCategoryModel> GetSubCategoryList()
        {
            var CategoryList = db.SubCategory.ToList();
            var map          = MapperObject.CreateSubCategoryList(CategoryList);

            return(map);
        }
Esempio n. 2
0
        public List <SubCategoryModel> GetSubCategory()
        {
            var subCategory = db.SubCategory.ToList();

            return(MapperObject.CreateSubCategoryList(subCategory));
        }