Exemple #1
0
        //
        // GET /task/details
        public ActionResult Details(int id)
        {
            var task = m_tasks.FindTask(id);

            return(View(task));
        }
Exemple #2
0
 // GET api/task/5
 public Task Get(int id)
 {
     return(m_task.FindTask(id));
 }