public List <O_RESULTADO> RegistrarDetalleBoleto(string strCredencial, O_DETALLE_BOLETO oDetalleBoleto, ref string strMensajeError)
        {
            using (var ctx = new EntidadesSisReservas())
            {
                try
                {
                    var objResultado =
                        ctx.PGET_GESTION_P_REGISTRAR_DETALLE_BOLETO(strCredencial,
                                                                    oDetalleBoleto.ID_DETALLE_BOLETO,
                                                                    oDetalleBoleto.ID_BOLETO,
                                                                    oDetalleBoleto.ID_ASIENTO,
                                                                    oDetalleBoleto.ID_PERSONA,
                                                                    oDetalleBoleto.O_DATOS_AUD.APP_ID_USUARIO,
                                                                    oDetalleBoleto.O_DATOS_AUD.AUD_ESTADO,
                                                                    oDetalleBoleto.O_DATOS_AUD.FECHA_REGISTRO
                                                                    ).ToList();

                    return(objResultado);
                }
                catch (Exception ex)
                {
                    strMensajeError = "CPersistenciaRepositorio " + ex.Message + " " + ex.InnerException;
                    return(null);
                }
            }
        }
示例#2
0
 public List <O_RESULTADO> RegistrarDetalleBoleto(string strCredencial, O_DETALLE_BOLETO oDetalleBoleto, ref string strMensajeError)
 {
     try
     {
         return(_repositorioGestion.RegistrarDetalleBoleto(strCredencial, oDetalleBoleto, ref strMensajeError).ToList());
     }
     catch (Exception ex)
     {
         strMensajeError = "Aplicacion Error " + System.Reflection.MethodBase.GetCurrentMethod().Name + "Error: " +
                           ex.InnerException;
         return(null);
     }
 }
示例#3
0
 public List <O_RESULTADO> RegistrarDetalleBoleto(string strCredencial, O_DETALLE_BOLETO oDetalleBoleto, ref string strMensajeError)
 {
     try
     {
         var _servicio = FabricaIoC.Contenedor.Resolver <IAplicacionGestion>();
         return(_servicio.RegistrarDetalleBoleto(strCredencial, oDetalleBoleto, ref strMensajeError));
     }
     catch (Exception e)
     {
         strMensajeError += e.Message + " - " + e.InnerException;
         return(null);
     }
 }