Interface DoctorService

All Known Implementing Classes:
DoctorServiceImpl

public interface DoctorService
Doctor service interface for managing doctor information.
Version:
1.0
Author:
Mirna Gama
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    addDoctor(DoctorDTO doctorDTO)
    Adds a new doctor to the repository.
  • Method Details

    • addDoctor

      Doctor addDoctor(DoctorDTO doctorDTO)
      Adds a new doctor to the repository.
      Parameters:
      doctorDTO - A data transfer object representing a doctor to add.
      Returns:
      The saved doctor if successful, or null if there is an error.