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