Пример #1
0
        public IEnumerable <Allergy> GetAllEager()
        {
            IEnumerable <Allergy>    allergies   = GetAll();
            IEnumerable <Ingredient> ingredients = _ingredientsRepository.GetAll();
            IEnumerable <Symptom>    symptoms    = _symptomsRepository.GetAll();

            Bind(allergies, ingredients, symptoms);

            return(allergies);
        }
 public IEnumerable <Symptom> GetAll()
 {
     return(_symptomRepository.GetAll());
 }