public IActionResult GetAll() { return(Ok(ViewAppointmentAdapter.AppointmentListToViewAppointmenDtoList(regularAppointmentService.GetAll()))); }
public List <DoctorAppointment> GetAll() { return(regularAppointmentService.GetAll()); }