Ejemplo n.º 1
0
        public IEnumerable<SG_DETALLES_COMPRAS> ObtenerDetallesAgrupados(PagingInfo paginacion)
        {
            IQueryable<SG_DETALLES_COMPRAS> result = null;
            ExecuteManager(uow =>
            {
                var managerVentas = new SG_DETALLES_COMPRASManager(uow);
                result = managerVentas.BuscarTodos();

            });
            return result;
        }
Ejemplo n.º 2
0
        public IEnumerable<SG_DETALLES_COMPRAS> ObtenerDetallesPorCriterio(System.Linq.Expressions.Expression<Func<SG_DETALLES_COMPRAS, bool>> criterio)
        {
            IQueryable<SG_DETALLES_COMPRAS> result = null;
            ExecuteManager(uow =>
            {
                var managerVentas = new SG_DETALLES_COMPRASManager(uow);
                result = managerVentas.BuscarTodos(criterio);

            });
            return result;
        }