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))); }
public ActionResult Delete(long id) { return(PartialView("_Delete", Document_TestRepo.ById(id))); }