public int InsertaParametroReporte(BusinessEntities.InsertaParametroReporte objInsertaParametroReporte)
        {
            System.Nullable <int> idSesion = 0;

            _dbContext.spInsertaParametroReportes(objInsertaParametroReporte.IdRutaArchivos, objInsertaParametroReporte.BusinessUnit, objInsertaParametroReporte.IdSistema, objInsertaParametroReporte.IdPlaza, objInsertaParametroReporte.FechaValidacion, objInsertaParametroReporte.Login, ref idSesion);
            return(Convert.ToInt32(idSesion));
        }
Example #2
0
        public override Abaseguros.Finanzas.SIAC.MessageContracts.ParametroReporteResponse InsertaParametroReporte(MessageContracts.ParametroReporteRequest parametroReporte)
        {
            BusinessEntities.InsertaParametroReporte  objInsertaParametroReporte  = new BusinessEntities.InsertaParametroReporte();
            MessageContracts.ParametroReporteResponse objParametroReporteResponse = new MessageContracts.ParametroReporteResponse();

            objInsertaParametroReporte.IdRutaArchivos  = parametroReporte.InsertaParametroReporte.idRutaArchivos;
            objInsertaParametroReporte.BusinessUnit    = parametroReporte.InsertaParametroReporte.BusinessUnit;
            objInsertaParametroReporte.IdPlaza         = parametroReporte.InsertaParametroReporte.idPlaza;
            objInsertaParametroReporte.IdSistema       = parametroReporte.InsertaParametroReporte.idSistema;
            objInsertaParametroReporte.FechaValidacion = parametroReporte.InsertaParametroReporte.FechaValidacion;
            objInsertaParametroReporte.Login           = parametroReporte.InsertaParametroReporte.Login;

            objParametroReporteResponse.idSesion = _objReportesOperativosBL.InsertaParametroReporte(objInsertaParametroReporte);
            return(objParametroReporteResponse);
        }
 public int InsertaParametroReporte(BusinessEntities.InsertaParametroReporte objInsertaParametroReporte)
 {
     return(objReportesOperativosDA.InsertaParametroReporte(objInsertaParametroReporte));
 }