예제 #1
0
 public ActionResult Edit(TodoItemDTO todoItem)
 {
     if (ModelState.IsValid)
     {
         _itemService.Change(todoItem);
         return(RedirectToAction("Details", "TodoCategory", new { id = todoItem.CategoryId }));
     }
     return(View(todoItem));
 }