示例#1
0
        public ActionResult EditTask(int?id)
        {
            var data  = _taskListManager.Get(id.Value);
            var model = new TaskViewModel()
            {
                TaskId    = data.ToDoTaskID,
                TaskName  = data.ToDoTaskName,
                SortOrder = data.SortOrder
            };

            return(PartialView(model));
        }