public int CheckAnswers(int feedbackid) { try { FeedbackBL feedbackBl = new FeedbackBL(); return(feedbackBl.CheckAnswers(feedbackid)); // UserAdmin userAdmin = new UserAdmin(); //return userAdmin.GetGivenFeedBackCount(userId, poeId, subscriptionid); } 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, "CheckAnswers", e.Message, 0); } return(0); }