Ejemplo n.º 1
0
 internal void Guardar(PrecioProductoInfo info)
 {
     try
     {
         Logger.Info();
         var precioProductoDAL = new PrecioProductoDAL();
         precioProductoDAL.Guardar(info);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Ejemplo n.º 2
0
 internal ResultadoInfo <PrecioProductoInfo> ObtenerPorPagina(PaginacionInfo pagina, PrecioProductoInfo filtros)
 {
     try
     {
         Logger.Info();
         var precioProductoDAL = new PrecioProductoDAL();
         ResultadoInfo <PrecioProductoInfo> result = precioProductoDAL.ObtenerPorPagina(pagina, filtros);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }