Exemplo n.º 1
0
 public ActionResult Edit(long id)
 {
     ViewBag.TestList      = new SelectList(TestRepo.All(""), "id", "name");
     ViewBag.Test_TypeList = new SelectList(TestTypeRepo.GetBySearch(""), "id", "name");
     return(PartialView("_Edit", Document_TestRepo.ById(id)));
 }
Exemplo n.º 2
0
 public ActionResult Delete(long id)
 {
     return(PartialView("_Delete", Document_TestRepo.ById(id)));
 }