public ActionResult FacturasAprobadas() { List <NotadeVentaCabeceraModels> doc = new List <NotadeVentaCabeceraModels>(); var docAprobados = ReporteDAO.listarDocAprobados(); if (docAprobados != null) { doc = docAprobados; } ViewBag.doc = doc; return(View()); }