public int GetGivenAnswer(int feedbackId, int questionId) { try { FeedbackBL feedbackBl = new FeedbackBL(); return(feedbackBl.GetGivenAnswer(feedbackId, questionId)); // 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, "GetGivenAnswer", e.Message, 0); } return(1); }