public ActionResult ChangeOwner(int id, int peopleid) { var tasks = new TaskModel(); tasks.ChangeOwner(id, peopleid); return(PartialView("Detail", tasks.FetchTask(id))); }
public ActionResult ChangeOwner(int id, int peopleid) { TaskModel.ChangeOwner(id, peopleid, CurrentDatabase.Host, CurrentDatabase); return(View("Index", TaskModel.FetchModel(id, CurrentDatabase.Host, CurrentDatabase))); }
public ActionResult ChangeOwner(int id, int peopleid) { TaskModel.ChangeOwner(id, peopleid); return(View("Index", TaskModel.FetchModel(id))); }