// GET: Factura
        public ActionResult List()
        {
            string tel    = Request["Rtelefo"];
            string estado = Request["Restado"];

            if (estado == "1")
            {
                estado = "1";
                TempData["strestado"] = "Pagadas";
            }
            else
            {
                TempData["strestado"] = "Pendientes";
            }
            List <Factura> listF = objFactura.findAll(tel, estado);

            return(View(listF));
        }
Пример #2
0
 public List<Factura> findAll()
 {
     return objFacturaDao.findAll();
 }