Example #1
0
        public IEnumerable<SG_COMPRAS> ObtenerComprasPorCriterio(System.Linq.Expressions.Expression<Func<SG_COMPRAS, bool>> criterio)
        {
            IQueryable<SG_COMPRAS> result = null;
            ExecuteManager(uow =>
            {
                var managerVentas = new SG_COMPRASManager(uow);
                result = managerVentas.BuscarTodos(criterio);

            });
            return result;
        }