public async Task <IActionResult> GetReportData() { try { List <PatientReportVM> PatientEntryList = (List <PatientReportVM>) await _Patient.GetReportAsync(); return(Ok(new { PatientEntryList })); } catch (Exception ex) { return(null); } }