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 getAllCategories(Pageable pageable); void addCategory(CategoryDto categoryDto); Category updateCategory(CategoryDto categoryDto); void deleteCategory(Long categoryId); }