public IActionResult Index()
        {
            OfertaBusiness ofertaBusiness = new OfertaBusiness(this.Configuration);

            ObjetoContenedorPrincipal contenedor = new ObjetoContenedorPrincipal();

            contenedor.Ofertas = ofertaBusiness.ObtenerOfertas();

            VistaBusiness vb = new VistaBusiness(this.Configuration);

            contenedor.vista = vb.obtenerHome();

            return(View("Index", contenedor));
        }
Exemple #2
0
        public IActionResult Home()
        {
            VistaBusiness vb = new VistaBusiness(this.Configuration);

            return(View("HomeEditable", vb.obtenerHome()));
        }