Exemplo n.º 1
0
        public HttpResponseMessage GetCopTagByCmsStandardId(int?programId, int?cmsStandardId)
        {
            try
            {
                var _result = TaskServices.GetCopTagByCmsStandardId(programId, cmsStandardId);

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