Esempio n. 1
0
        public Boolean EditSubCategory(Int32 personId, Int32 subCategoryId, String newCategoryTitle, String newSubCategoryTitle, String newSubCategoryDescription)
        {
            ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository();

            return(subCatRep.TyrEditSubCategory(personId, subCategoryId, newCategoryTitle, newSubCategoryTitle, newSubCategoryDescription));
        }
Esempio n. 2
0
        public Boolean DeleteSubCategory(Int32 personId, Int32 subCategoryId)
        {
            ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository();

            return(subCatRep.TryDeleteSubCategory(personId, subCategoryId));
        }
Esempio n. 3
0
        public Int32 AddSubCategory(Int32 personId, String categoryTitle, String subCategoryTitle, String subCategoryDescription)
        {
            ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository();

            return(subCatRep.TryAddSubCategory(personId, categoryTitle, subCategoryTitle, subCategoryDescription));
        }