Esempio n. 1
0
        public HttpResponseMessage GetChapterList(int?siteId, int?programId, int?userId, int?certificationItemId, string standardEffBeginDate, int?serviceProfileTypeId)
        {
            try
            {
                var ChapterList = TaskServices.GetChapterList(siteId, programId, userId, certificationItemId, standardEffBeginDate, serviceProfileTypeId);

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