public ActionResult Create()
 {
     ViewBag.venta       = ventaService.FindAll();
     ViewBag.ingrediente = ingrdntService.FindAll();
     return(View());
 }
Ejemplo n.º 2
0
 // GET: Orden/Create
 public ActionResult Create()
 {
     ViewBag.ventaservice = ventaService.FindAll();
     return(View());
 }
Ejemplo n.º 3
0
 public ActionResult Create()
 {
     ViewBag.producto = productoservice.FindAll();
     ViewBag.venta    = ventaservice.FindAll();
     return(View());
 }
Ejemplo n.º 4
0
 // GET: Venta
 public ActionResult Index()
 {
     return(View(ventaservice.FindAll()));
 }