Esempio n. 1
0
 public IHttpActionResult GetCampProductDetails(int eventId, int contactId)
 {
     return(Authorized(token =>
     {
         try
         {
             var campProductInfo = _campService.GetCampProductDetails(eventId, contactId, token);
             return Ok(campProductInfo);
         }
         catch (Exception exception)
         {
             var apiError = new ApiErrorDto("EventInfo", exception);
             throw new HttpResponseException(apiError.HttpResponseMessage);
         }
     }));
 }