public List <UserSurvey> GetUserSurvey(int userId, int poeId) { try { FeedbackBL feedback = new FeedbackBL(); return(feedback.GetUserSurvey(userId, 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, "GetUserSurvey", e.Message, 0); } return(null); }