//otra forma de instanciar CalcularVenta(ClsVenta objVenta)
        public ActionResult CalcularVenta(ClsVenta objVenta)
        {
            if (objVenta.productoUSB == true)
            {
                objVenta.subtotal = objVenta.subtotal + PRECIOUSB;
            }

            if (objVenta.productoMouse == true)
            {
                objVenta.subtotal = objVenta.subtotal + PRECIOMOUSE;
            }

            if (objVenta.productoTeclado == true)
            {
                objVenta.subtotal = objVenta.subtotal + PRECIOTECLADO;
            }

            if (objVenta.productoDiscoDuro == true)
            {
                objVenta.subtotal = objVenta.subtotal + PRECIODISCO;
            }

            objVenta.igv   = objVenta.subtotal * 0.18;
            objVenta.total = objVenta.subtotal + objVenta.igv;

            return(View("CalcularVenta", objVenta));
        }
        public ActionResult CalcularVenta(ClsVenta ObjVenta)
        {
            if (ObjVenta.productoUSB == true)
            {
                ObjVenta.subtotal = ObjVenta.subtotal + precioUSB;
            }
            if (ObjVenta.productoMOUSE == true)
            {
                ObjVenta.subtotal = ObjVenta.subtotal + precioMOUSE;
            }
            if (ObjVenta.productoTECLADO == true)
            {
                ObjVenta.subtotal = ObjVenta.subtotal + precioTECLADO;
            }
            if (ObjVenta.productoDISCODURO == true)
            {
                ObjVenta.subtotal = ObjVenta.subtotal + precioDISCODURO;
            }

            ObjVenta.igv   = ObjVenta.subtotal * 0.18;
            ObjVenta.total = ObjVenta.subtotal + ObjVenta.igv;

            return(View("CalcularVenta", ObjVenta));
        }