Beispiel #1
0
 public List <DTO.Allergy> GetAllergies(GetAllergiesRequest request)
 {
     try
     {
         List <DTO.Allergy> result = new List <DTO.Allergy>();
         var algy = EndpointUtil.GetAllergies(request);
         algy.ForEach(a => result.Add(Mapper.Map <DTO.Allergy>(a)));
         IndexResultSet(result);
         return(result);
     }
     catch (WebServiceException ex)
     {
         throw new WebServiceException("AD:GetAllergies()::" + ex.Message, ex.InnerException);
     }
 }