Ejemplo n.º 1
0
        public ActionResult IdLote(VentaViewModels datos)
        {
            var venta = new VentaViewModels();

            Lote lote = new Lote(new DBLote());

            venta.Lotes = lote.FindEstadoLoti();

            //Cliente _cliente = new Cliente(new BdClientes());
            //venta.Cliente = _cliente.SelectForId(datos.ClienteId);
            venta.Cliente = cliente;

            Empleados emp = new Empleados(new DBEmpleados());

            venta.Empleado = emp.SelectForId(datos.EmpVentaId);
            empleado       = venta.Empleado;

            return(View(venta));
        }