Exemple #1
0
        public ActionResult Accept(int id)
        {
            var tasks = new TaskModel {
                Id = id.ToString()
            };

            tasks.AcceptTask(id);
            return(PartialView("Detail", tasks.FetchTask(id)));
        }
Exemple #2
0
        public ActionResult Accept(int id)
        {
            var tasks = new TaskModel {
                Id = id.ToString()
            };

            tasks.AcceptTask(id);
            return(Content("Done"));
        }
Exemple #3
0
 public ActionResult Accept(int id)
 {
     TaskModel.AcceptTask(id, CurrentDatabase.Host, CurrentDatabase);
     return(Content("Done"));
 }
Exemple #4
0
 public ActionResult Accept(int id)
 {
     TaskModel.AcceptTask(id);
     return(Content("Done"));
 }