Exemplo n.º 1
0
        public HttpResponseMessage GetMaxTaskAssignedDate(string taskIds)
        {
            try
            {
                var MaxAssignedDate = TaskServices.GetMaxTaskAssignedDate(taskIds);

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