// GET: Inventarios/Create public ActionResult Create() { ViewBag.id_producto = new SelectList(productoService.FindAll(), "id", "nombre"); ViewBag.id_tienda = new SelectList(tiendaService.FindAll(), "id", "nombre"); return(View()); }
// GET: Productos public ActionResult Index() { return(View(productoService.FindAll())); }