Ejemplo n.º 1
0
 public IActionResult GetWithSurveys()
 {
     return(Ok(regularAppointmentService.FindAllValidAppointmentsWithSurvey(regularAppointmentService.GetAppointmentsForPatient(2), SurveyService.GetAllSurveysForPatientId(2))));
 }
Ejemplo n.º 2
0
 public IActionResult GetWithSurveys(int id)
 {
     return(Ok(ViewAppointmentAdapter.AppointmentListToViewAppointmenDtoList(regularAppointmentService.FindAllValidAppointmentsWithSurvey(regularAppointmentService.GetAppointmentsForPatient(id), SurveyService.GetAllSurveysForPatientId(id)))));
 }