Ejemplo n.º 1
0
        public ActionResult OneDocument()
        {
            var idVenta = Session[HomeController.IdDoc];

            if (idVenta == null)
            {
                return(RedirectToAction("Index", "Home"));
            }
            var vbl = new VentaBl();
            var v   = vbl.GetVenta(idVenta.ToString());

            if (!vbl.LastResult.Success)
            {
                return(HttpNotFound("Error de Conexion"));
            }
            return(View(v));
        }