public IDataResult <List <Allergies> > GetAll() { var result = _allergyRepository.GetList().ToList(); return(new SuccessDataResult <List <Allergies> >(result)); }