ohctechv3/.svn/pristine/76/7628a9f37122c5e9c280ab9216dc788d7c0945c0.svn-base
2024-10-28 15:03:36 +05:30

19 lines
504 B
Plaintext

package com.healthcare.ohctech.service;
import com.healthcare.ohctech.dto.DoctorDto;
import com.healthcare.ohctech.entity.Doctor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface DoctorService {
Doctor getDoctorById(Long doctorId);
Page<Doctor> getAllDoctors(Pageable pageable);
void addDoctor(DoctorDto doctorDto,Long userId);
void updateDoctor(DoctorDto doctorDto,Long userId);
void deleteDoctor(Long doctorId);
}