示例#1
0
        public ActionResult Cancel(int id)
        {
            PlayerTask pt = PlayerTask.Load(id);

            pt.State = Task.TaskState.Completed;
            pt.Save();
            return(null);
        }