public IEnumerable <Therapy> GetTherapyByPatient(Patient patient) { List <Therapy> retVal = new List <Therapy>(); IEnumerable <Diagnosis> diagnosisList = _diagnosisCSVRepository.GetAllDiagnosisForPatient(patient); foreach (Diagnosis diagnosis in diagnosisList) { retVal.AddRange(diagnosis.Therapies); } return(retVal); }