Exemplo 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));
        }
Exemplo n.º 2
0
        public Boolean DeleteSubCategory(Int32 personId, Int32 subCategoryId)
        {
            ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository();

            return(subCatRep.TryDeleteSubCategory(personId, subCategoryId));
        }
Exemplo 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));
        }