package com.healthcare.ohctech.service; import com.healthcare.ohctech.dto.ReferredByDto; import com.healthcare.ohctech.entity.ReferredBy; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; public interface ReferredByService { ReferredBy getReferredById(Long referredById); Page getAllReferredBys(Pageable pageable); void addReferredBy(ReferredByDto referredByDto,Long userId); void updateReferredBy(ReferredByDto referredByDto,Long userId); void deleteReferredBy(Long referredById); }