ohctechv3/.svn/pristine/e9/e9c225705275a9a559d678d86c541dc89653a387.svn-base
2024-10-28 15:03:36 +05:30

19 lines
528 B
Plaintext

package com.healthcare.ohctech.service;
import com.healthcare.ohctech.dto.FoodMasterDto;
import com.healthcare.ohctech.entity.FoodMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface FoodMasterService {
FoodMaster getFoodById(Long foodId);
Page<FoodMaster> getAllFoods(Pageable pageable);
void addFood(FoodMasterDto foodMasterDto, Long userId);
void updateFood(FoodMasterDto foodMasterDto, Long userId);
void deleteFood(Long foodId);
}