Exemple #1
0
 public ActionResult Delete(long id)
 {
     return(PartialView("_Delete", MenuRepo.ById(id)));
 }
Exemple #2
0
 public ActionResult Edit(long id)
 {
     ViewBag.MenuList = new SelectList(MenuRepo.All(), "id", "title");
     return(PartialView("_Edit", MenuRepo.ById(id)));
 }