コード例 #1
0
 public void InsertUpdateUSerRating(int Userid, int Questionid, int Userrating, int feedbackid, int poeId)
 {
     try
     {
         FeedbackBL feedbackBl = new FeedbackBL();
         feedbackBl.InsertUpdateUSerRating(Userid, Questionid, Userrating, feedbackid, poeId);
     }
     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, "InsertUpdateUSerRating", e.Message, 0);
     }
 }