Esempio n. 1
0
 public void InsertFbExperience(List <SavePOEResultRequest> requests)
 {
     try
     {
         FeedbackBL feedbackBl = new FeedbackBL();
         foreach (var req in requests)
         {
             feedbackBl.InsertFbExperience(req.UserId, req.FeedbackId, req.QuestionId, req.Answer);
         }
     }
     catch (Exception e)
     {
         WebOperationContext.Current.OutgoingResponse.StatusCode        = HttpStatusCode.PreconditionFailed;
         WebOperationContext.Current.OutgoingResponse.StatusDescription = e.Message;
         BusinessLogic.Common.Common common = new BusinessLogic.Common.Common();
         common.CreateErrorLog(0, "InsertFbExperience", e.Message, 0);
     }
 }