Example #1
0
 public DTO.Allergy InitializeAllergy(PostInitializeAllergyRequest request)
 {
     DTO.Allergy allergy = null;
     try
     {
         AllergyData data = EndpointUtil.InitializeAllergy(request);
         if (data != null)
         {
             allergy = Mapper.Map <DTO.Allergy>(data);
         }
         return(allergy);
     }
     catch (Exception ex) { throw ex; }
 }