public async Task <IActionResult> Get([FromRoute] int id) { if (await _clinicRepository.GetPatientReportByIDAsync(id) is PatientReport report) { return(Ok(report)); } else { return(NotFound()); } }
public async Task <IActionResult> Get([FromRoute] int id) { if (await _clinicRepository.GetPatientReportByIDAsync(id) is PatientReport report) { return(Ok(report)); } else { return(NotFound()); } }