示例#1
0
        public ActionResult ChangeOwner(int id, int peopleid)
        {
            var tasks = new TaskModel();

            tasks.ChangeOwner(id, peopleid);
            return(PartialView("Detail", tasks.FetchTask(id)));
        }
示例#2
0
 public ActionResult ChangeOwner(int id, int peopleid)
 {
     TaskModel.ChangeOwner(id, peopleid, CurrentDatabase.Host, CurrentDatabase);
     return(View("Index", TaskModel.FetchModel(id, CurrentDatabase.Host, CurrentDatabase)));
 }
示例#3
0
 public ActionResult ChangeOwner(int id, int peopleid)
 {
     TaskModel.ChangeOwner(id, peopleid);
     return(View("Index", TaskModel.FetchModel(id)));
 }