ohctechv3/.svn/pristine/0f/0f09bea5178a67b8a2fec49b8b11cdd6f5f93552.svn-base
2024-10-28 15:03:36 +05:30

20 lines
518 B
Plaintext

package com.healthcare.ohctech.service;
import com.healthcare.ohctech.dto.CategoryDto;
import com.healthcare.ohctech.entity.Category;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface CategoryService {
Category getCategoryById(Long categoryId);
Page<Category> getAllCategories(Pageable pageable);
void addCategory(CategoryDto categoryDto);
Category updateCategory(CategoryDto categoryDto);
void deleteCategory(Long categoryId);
}