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