示例#1
0
 public ActionResult ChangeOwner(int id, int peopleid)
 {
     TaskModel.ChangeOwner(id, peopleid, CurrentDatabase.Host, CurrentDatabase);
     return(View("Index", TaskModel.FetchModel(id, CurrentDatabase.Host, CurrentDatabase)));
 }
示例#2
0
 public ActionResult Delegate(int id, int peopleid)
 {
     TaskModel.Delegate(id, peopleid, CurrentDatabase.Host, CurrentDatabase);
     return(View("Index", TaskModel.FetchModel(id, CurrentDatabase.Host, CurrentDatabase)));
 }
示例#3
0
        public ActionResult Edit(int id)
        {
            var t = TaskModel.FetchModel(id, CurrentDatabase.Host, CurrentDatabase);

            return(View(t));
        }
示例#4
0
 public ActionResult Delegate(int id, int peopleid)
 {
     TaskModel.Delegate(id, peopleid);
     return(View("Index", TaskModel.FetchModel(id)));
 }
示例#5
0
 public ActionResult ChangeOwner(int id, int peopleid)
 {
     TaskModel.ChangeOwner(id, peopleid);
     return(View("Index", TaskModel.FetchModel(id)));
 }
示例#6
0
 public ActionResult ChangeAbout(int id, int peopleid)
 {
     TaskModel.SetWhoId(id, peopleid);
     return(View("Index", TaskModel.FetchModel(id)));
 }
示例#7
0
        public ActionResult Edit(int id)
        {
            var t = TaskModel.FetchModel(id);

            return(View(t));
        }