public Boolean insertCategory(String CategoryId, String CategoryName, String CategoryDescription)
 {
     Category obj = Category.createCategory(CategoryId, CategoryName, CategoryDescription);
     CategoryManager mgr = new CategoryManager();
     return mgr.insertCategory(obj);
 }
Exemple #2
0
 public Boolean insertCategory(CategoryDto dto)
 {
     Category obj = Category.createCategory(dto.CategoryId, dto.CategoryName, dto.CategoryDescription);
     CategoryManager mgr = new CategoryManager();
     return mgr.insertCategory(obj);
 }