Esempio n. 1
0
        public HttpResponseMessage GetTagsByCopAndProgramID(int?programId, string copName)
        {
            try
            {
                var TagList = TaskServices.GetTagsByCopAndProgramID(programId, copName);

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