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