Example #1
0
 public bool UpdateCategory(Category category)
 {
     DALCategory categoryDAL = new DALCategory();
     return categoryDAL.UpdateCategory(category);
 }
Example #2
0
 public bool InsertCategory(Category category)
 {
     DALCategory categoryDAL = new DALCategory();
     return categoryDAL.InsertCategory(category);
 }
Example #3
0
 public List<Category> GetCategoriesByTypeId(int typeId)
 {
     DALCategory categoyDAL = new DALCategory();
     return categoyDAL.GetCategoriesByTypeId(typeId);
 }
Example #4
0
 public List<Category> GetcategoryList()
 {
     DALCategory categoryDAL = new DALCategory();
     return categoryDAL.GetCategoryList();
 }
Example #5
0
 public bool DeleteCategory(Category category)
 {
     DALCategory categoryDAL = new DALCategory();
     return categoryDAL.DeleteCategory(category);
 }