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