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

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

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

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

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

            return(NewCategory);
        }