Ejemplo n.º 1
0
 public ActionResult Create()
 {
     ViewBag.MaHDT = new SelectList(contextHDT.GetAll(), "MaHDT", "TenHDT");
     return(View());
 }
 public ActionResult Index()
 {
     return(View(contextHDT.GetAll()));
 }