public IActionResult GetDoctorById(int doctorId)
        {
            var doctor = _doctorService.GetByID(doctorId);

            if (doctor != null)
            {
                return(Ok(doctor));
            }
            return(BadRequest("Doctor with id: " + doctorId + " not found."));
        }
 public Doctor GetByID(UserID id)
 => _doctorService.GetByID(id);