public List <O_RESULTADO> RegistrarBoleto(string strCredencial, O_BOLETO oBoleto, ref string strMensajeError) { using (var ctx = new EntidadesSisReservas()) { try { var objResultado = ctx.PGET_GESTION_P_REGISTRAR_BOLETO(strCredencial, oBoleto.ID_BOLETO, oBoleto.ID_USUARIO, oBoleto.ID_RUTA, oBoleto.ID_SUCURSAL, oBoleto.O_DATOS_AUD.APP_ID_USUARIO, oBoleto.O_DATOS_AUD.AUD_ESTADO, oBoleto.O_DATOS_AUD.FECHA_REGISTRO ).ToList(); return(objResultado); } catch (Exception ex) { strMensajeError = "CPersistenciaRepositorio " + ex.Message + " " + ex.InnerException; return(null); } } }
public List <O_RESULTADO> RegistrarBoleto(string strCredencial, O_BOLETO oBoleto, ref string strMensajeError) { try { return(_repositorioGestion.RegistrarBoleto(strCredencial, oBoleto, ref strMensajeError).ToList()); } catch (Exception ex) { strMensajeError = "Aplicacion Error " + System.Reflection.MethodBase.GetCurrentMethod().Name + "Error: " + ex.InnerException; return(null); } }
public List <O_RESULTADO> RegistrarBoleto(string strCredencial, O_BOLETO oBoleto, ref string strMensajeError) { try { var _servicio = FabricaIoC.Contenedor.Resolver <IAplicacionGestion>(); return(_servicio.RegistrarBoleto(strCredencial, oBoleto, ref strMensajeError)); } catch (Exception e) { strMensajeError += e.Message + " - " + e.InnerException; return(null); } }