示例#1
0
        public IActionResult GetAppointmentReport(AppointmentDTO dto)
        {
            String patientId = User.Identity.Name;
            Report report    = _reportSearchService.GetReportForAppointment(dto.StartTime, dto.DoctorId, patientId);
            AppointmentReportDTO reportDTO = ReportMapper.ReportToAppointmentReportDTO(report);

            return(Ok(reportDTO));
        }