Пример #1
0
 public ActionResult Edit(TaskViewModel taskView)
 {
     taskProvider.UpdateCodeTask(taskView);
     return RedirectToAction("MyTasks");
 }
Пример #2
0
        public ActionResult AddTask(TaskViewModel codeTask)
        {
            taskProvider.AddTask(codeTask);

            return RedirectToAction("Index", "Home");
        }