コード例 #1
0
 public int GetUserRatingByPoeId(int Userid, int Poeid, int questionid, int feedbackid)
 {
     try
     {
         FeedbackBL feedbackBl = new FeedbackBL();
         return(feedbackBl.GetUserRatingByPoeId(Userid, Poeid, questionid, feedbackid));
     }
     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, "GetUserRatingByPoeId", e.Message, 0);
     }
     return(0);
 }