Example #1
0
        public IQueryable <DomainType> GetAll(Expression <Func <DomainType, bool> > predicate = null, IncludeOptions options = null)
        {
            string key = (options != null) ? options.GetKey() : "";

            return(repository.GetAll(predicate, options).Cacheable($"{KEY_SALT}{key}", debugInfo, cacheKeyProvider, cacheServiceProvider));
        }