Ejemplo n.º 1
0
 public void SaveSurveyResult(int feedbackId, int questionId, string answer, int poeid, int subQuestionId, int userid, bool isSubQuestion)
 {
     try
     {
         FeedbackBL survey = new FeedbackBL();
         survey.SaveSurveyResult(feedbackId, questionId, answer, poeid, subQuestionId, userid, isSubQuestion);
     }
     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(userid, "SaveSurveyResult", e.Message, 0);
     }
     // return null;
 }