Exemplo n.º 1
0
        /// <summary>
        /// Obtiene el listado de productos sin el detalle para mostrarlos en la ayuda
        /// </summary>
        /// <param name="organizacionId"></param>
        /// <returns></returns>
        public List <EntradaProductoInfo> ObtenerEntradaProductosAyuda(int organizacionId)
        {
            List <EntradaProductoInfo> listaEntradaProducto;
            var entradaProductoBl = new EntradaProductoBL();

            try
            {
                listaEntradaProducto = entradaProductoBl.ObtenerEntradaProductosAyuda(organizacionId);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }

            return(listaEntradaProducto);
        }