Exemplo n.º 1
0
 public ActionResult Index()
 {
     ViewBag.CategoriaId = new SelectList(categorias.GetAll(), "Id", "Nombre");
     return(this.View(productos.GetEagerAll()));
 }