Example #1
0
 public void Guardar(PrecioProductoInfo info)
 {
     try
     {
         Logger.Info();
         var precioProductoBL = new PrecioProductoBL();
         precioProductoBL.Guardar(info);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
Example #2
0
        /// <summary>
        /// Obtener por pagina
        /// </summary>
        /// <param name="pagina"></param>
        /// <param name="filtros"></param>
        /// <returns></returns>
        public ResultadoInfo <PrecioProductoInfo> ObtenerPorPagina(PaginacionInfo pagina, PrecioProductoInfo filtros)
        {
            try
            {
                Logger.Info();
                var precioProductoBL = new PrecioProductoBL();
                ResultadoInfo <PrecioProductoInfo> result = precioProductoBL.ObtenerPorPagina(pagina, filtros);

                return(result);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
        }