public bool UpdateCategory(Category categoryToUpdate) { var bl = new BLL.Categories(); var Result = bl.Update(categoryToUpdate); return(Result); }
public Category RetrieveCategoryByID(int ID) { var bl = new BLL.Categories(); var Result = bl.RetrieveByID(ID); return(Result); }
public Category CreateCategory(Category newCategory) { var bl = new BLL.Categories(); var NewCategory = bl.Create(newCategory); return(NewCategory); }
public bool DeleteCategory(int ID) { var bl = new BLL.Categories(); var Result = bl.Delete(ID); return(Result); }
public EntitiesStandart.Categories CreateCategory(EntitiesStandart.Categories newCategory) { var BL = new BLL.Categories(); var NewCategory = BL.Create(newCategory); return(NewCategory); }