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