示例#1
0
        public HttpResponseMessage DeleteTasks([FromBody] string taskIds)
        {
            try
            {
                TaskServices.DeleteTasks(taskIds);

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