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)); }
public Boolean DeleteSubCategory(Int32 personId, Int32 subCategoryId) { ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository(); return(subCatRep.TryDeleteSubCategory(personId, subCategoryId)); }
public Int32 AddSubCategory(Int32 personId, String categoryTitle, String subCategoryTitle, String subCategoryDescription) { ISubCategoryRepository subCatRep = CSRepositoryFactory.getSubCategoryRepository(); return(subCatRep.TryAddSubCategory(personId, categoryTitle, subCategoryTitle, subCategoryDescription)); }