Exemple #1
0
 public static bool DeleteSubCategory(int Category_id)
 {
     return(SubCategoryProvider.DeleteSubCategory(Category_id));
 }
Exemple #2
0
 public static int AddUpdateSubCategory(sub_category ob)
 {
     return(SubCategoryProvider.AddUpdateSubCategory(ob));
 }
Exemple #3
0
 public static sub_category GetSubCategory(int SubCategoryId)
 {
     return(SubCategoryProvider.GetAllSubCategory(SubCategoryId, 0).FirstOrDefault());
 }
Exemple #4
0
 public static List <sub_category> GetAllSubCategoryByName(string Category_Name, int CategoryId)
 {
     return(SubCategoryProvider.GetAllSubCategoryByName(Category_Name, CategoryId));
 }
Exemple #5
0
 public static List <sub_category> GetAllSubCategory(int subCategoryId, int CategoryId)
 {
     return(SubCategoryProvider.GetAllSubCategory(subCategoryId, CategoryId));
 }