public List <O_LISTAR_BOLETO_COMPLETO> ListarBoletoCompleto(string strCredencial, O_LISTAR_BOLETO_COMPLETO oListarBoletoCompleto, ref string strMensajeError) { using (var ctx = new EntidadesSisReservas()) { try { var objListado = ctx.PGET_LISTADOS_P_LISTAR_BOLETO_COMPLETO(strCredencial, oListarBoletoCompleto.ID_BOLETO, oListarBoletoCompleto.ID_RUTA, oListarBoletoCompleto.ID_USUARIO, oListarBoletoCompleto.ID_SUCURSAL, oListarBoletoCompleto.FECHA_REGISTRO, oListarBoletoCompleto.AUD_ESTADO, oListarBoletoCompleto.ID_DETALLE_BOLETO, oListarBoletoCompleto.ID_ASIENTO, oListarBoletoCompleto.ID_PERSONA, oListarBoletoCompleto.ID_TIPO_ASIENTO, oListarBoletoCompleto.NUMERO, oListarBoletoCompleto.TIPO_ASIENTO ).ToList(); return(objListado); } catch (Exception ex) { strMensajeError = "Error 200: " + ex.Message + "-" + ex.InnerException; return(null); } } }
public List <O_LISTAR_BOLETO_COMPLETO> ListarBoletoCompleto(string strCredencial, O_LISTAR_BOLETO_COMPLETO oListarBoletoCompleto, ref string strMensajeError) { try { var objListado = _repositorioReportes.ListarBoletoCompleto(strCredencial, oListarBoletoCompleto, ref strMensajeError); return(objListado); } catch (Exception ex) { strMensajeError = "AplicacionServicio Layer " + System.Reflection.MethodBase.GetCurrentMethod().Name + "Error 300:" + ex.Message + '-' + ex.InnerException; return(null); } }
public List <O_LISTAR_BOLETO_COMPLETO> ListarBoletoCompleto(string strCredencial, O_LISTAR_BOLETO_COMPLETO oListarBoletoCompleto, ref string strMensajeError) { try { var _servicio = FabricaIoC.Contenedor.Resolver <IAplicacionReportes>(); return(_servicio.ListarBoletoCompleto(strCredencial, oListarBoletoCompleto, ref strMensajeError).ToList()); } catch (Exception e) { strMensajeError += e.Message + " error 500: " + e.InnerException; return(null); } }