Exemplo n.º 1
0
 public ConfiguracionCreditoInfo PlazoCredito_ValidarConfiguracion(int plazoCredito)
 {
     try
     {
         Logger.Info();
         var bl     = new PlazoCreditoBL();
         var result = bl.PlazoCredito_ValidarConfiguracion(plazoCredito);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Exemplo n.º 2
0
 public int PlazoCredito_Guardar(PlazoCreditoInfo info)
 {
     try
     {
         Logger.Info();
         var bl     = new PlazoCreditoBL();
         int result = bl.PlazoCredito_Guardar(info);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Exemplo n.º 3
0
 public List <PlazoCreditoInfo> PlazoCredito_ObtenerTodos()
 {
     try
     {
         Logger.Info();
         var bl     = new PlazoCreditoBL();
         var result = bl.PlazoCredito_ObtenerTodos();
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Exemplo n.º 4
0
 public PlazoCreditoInfo PlazoCredito_ObtenerPorDescripcion(string descripcion)
 {
     try
     {
         Logger.Info();
         var bl = new PlazoCreditoBL();
         PlazoCreditoInfo result = bl.PlazoCredito_ObtenerPorDescripcion(descripcion);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Exemplo n.º 5
0
 public ResultadoInfo <PlazoCreditoInfo> PlazoCredito_ObtenerPlazosCreditoPorFiltro(PaginacionInfo pagina, PlazoCreditoInfo filtro)
 {
     try
     {
         Logger.Info();
         var bl = new PlazoCreditoBL();
         ResultadoInfo <PlazoCreditoInfo> result = bl.PlazoCredito_ObtenerPlazosCreditoPorFiltro(pagina, filtro);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }