public ActionResult GetSummaryReport(string patientname) { try { return(Ok(ipatient.GetSummaryReport(patientname))); } catch (Exception e) { return(BadRequest(e)); } }