// GET: HacerPedido public ActionResult Index() { Core.RestauranteCore core = new Core.RestauranteCore(); List <RestauranteModel> list = core.GetAllRestaurante(); Core.ProductoCore core1 = new Core.ProductoCore(); List <ProductoModel> listProductos = core1.GetAllProducto(); ViewData["RestaurantData"] = list; ViewData["ProductosData"] = listProductos; return(View()); }