public ActionResult Accept(int id) { var tasks = new TaskModel { Id = id.ToString() }; tasks.AcceptTask(id); return(PartialView("Detail", tasks.FetchTask(id))); }
public ActionResult Accept(int id) { var tasks = new TaskModel { Id = id.ToString() }; tasks.AcceptTask(id); return(Content("Done")); }
public ActionResult Accept(int id) { TaskModel.AcceptTask(id, CurrentDatabase.Host, CurrentDatabase); return(Content("Done")); }
public ActionResult Accept(int id) { TaskModel.AcceptTask(id); return(Content("Done")); }