Esempio n. 1
0
        /// <summary>
        /// This method is used to change the status of the task to close
        /// </summary>
        /// <param name="taskId">Task Id</param>
        /// <returns></returns>
        public ActionResult CloseTask(int taskId)
        {
            var result = _taskService.CloseTask(taskId);

            return(Json(result, JsonRequestBehavior.DenyGet));
        }