Пример #1
0
 @Override
 @Transactional
 public Category findByCategory(String category) {
   return categoryDAO.findByCategory(category);
 }
Пример #2
0
 @Override
 @Transactional
 public void updateCategory(Category category) {
   categoryDAO.updateCategory(category);
 }
Пример #3
0
 @Override
 @Transactional
 public List<Category> getAllCategory() {
   return categoryDAO.getAllCategory();
 }