示例#1
0
        public HttpResponseMessage GetStandardByChapterList(string standardEffBeginDate, int?productType, int?programId, int?chapterId, int?siteId, int?userId, int?serviceProfileTypeId, int?certificationItemId)
        {
            try
            {
                var StandardList = TaskServices.GetStandardByChapterList(standardEffBeginDate, productType, programId, chapterId, siteId, userId, serviceProfileTypeId, certificationItemId);

                return(Request.CreateResponse(HttpStatusCode.OK, StandardList));
            }
            catch (Exception ex)
            {
                ex.Data.Add("HTTPReferrer", "JCRAPI/TaskInfo/GetStandardByChapterList");
                WebExceptionHelper.LogException(ex, null);
                return(Request.CreateResponse(HttpStatusCode.OK, string.Empty));
            }
        }