Esempio n. 1
0
 private IQueryable <T> ApplySpecification(ISpecification <T> spec)
 {
     return(SpecificationEvaluator <T> .GetQueryable(_moniturlDbContext.Set <T>().AsQueryable(), spec));
 }
Esempio n. 2
0
        private IQueryable <T> ApplySpecification(ISpecification <T> specification)
        {
            var queryable = _context.Set <T>().AsQueryable();

            return(SpecificationEvaluator <T> .GetQueryable(queryable, specification));
        }