Пример #1
0
        /// <summary>
        ///  Visualiza todos los boletos
        /// </summary>
        /// <returns></returns>
        public ActionResult M05_VisualizarBoletos()
        {
            //SE BUSCAN TODOS LOS BOLETOS QUE ESTAN EN LA BASE DE DATOS PARA MOSTRARLOS EN LA VISTA
            //manejadorSQL_Boletos buscarboletos = new manejadorSQL_Boletos();
            //List<CBoleto> listaboletos = buscarboletos.M05ListarBoletosBD();
            Command <List <Entidad> > comando      = FabricaComando.ConsultarBoletos();
            List <Entidad>            listaBoletos = comando.ejecutar();

            return(PartialView(listaBoletos));
        }
Пример #2
0
        public ActionResult buscarBoletos(CCheckIn model)
        {
            int pasaporte = model._pasaporte;
            //SE BUSCAN TODOS LOS BOLETOS QUE ESTAN EN LA BASE DE DATOS
            // DE ESE PASAJERO EN PARTICULAR PARA MOSTRARLOS EN LA VISTA

            //manejadorSQL_Check buscarboletos = new manejadorSQL_Check();
            //List<CBoleto> listaboletos = buscarboletos.M05ListarBoletosPasajero(pasaporte);

            List <Entidad> listaboletos = (FabricaComando.ConsultarBoletos(pasaporte)).ejecutar();

            return(PartialView("M05_VerBoletosCheckIn", listaboletos));
        }