public IHttpActionResult GetClosedDiseaseInfo(int idPatient) { try { var result = _patientData.GetClosedDiseaseInfo(idPatient); return(Ok(result)); } catch (Exception e) { Console.WriteLine(e); throw; } }