public List <FeedbackDetail> GetAllFeedbackDetails(int feedbacktype, int poeid) { try { FeedbackBL feedbackBl = new FeedbackBL(); return(feedbackBl.GetAllFeedbackDetails(feedbacktype, 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(0, "GetAllFeedbackDetails", e.Message, 0); } return(null); }