Exemple #1
0
        public bool UpdateCategory(Category categoryToUpdate)
        {
            var bl     = new BLL.Categories();
            var Result = bl.Update(categoryToUpdate);

            return(Result);
        }
Exemple #2
0
        public Category RetrieveCategoryByID(int ID)
        {
            var bl     = new BLL.Categories();
            var Result = bl.RetrieveByID(ID);

            return(Result);
        }
Exemple #3
0
        public Category CreateCategory(Category newCategory)
        {
            var bl          = new BLL.Categories();
            var NewCategory = bl.Create(newCategory);

            return(NewCategory);
        }
Exemple #4
0
        public bool DeleteCategory(int ID)
        {
            var bl     = new BLL.Categories();
            var Result = bl.Delete(ID);

            return(Result);
        }
Exemple #5
0
        public EntitiesStandart.Categories CreateCategory(EntitiesStandart.Categories newCategory)
        {
            var BL          = new BLL.Categories();
            var NewCategory = BL.Create(newCategory);

            return(NewCategory);
        }