public CachedEntityReaderController( ILogger logger, ICachedEntityReader <TEntity> reader, IEntityMapper <TEntity, TDto> mapper) : base(logger, reader, mapper) { }
public CachedCustomersController( ILogger logger, ICachedEntityReader <Customer> reader, IEntityMapper <Customer, CustomerDto> mapper) : base(logger, reader, mapper) { }
public CachedEntityReaderTests() { _reader = Resolver.Resolve <ICachedEntityReader <Customer> >(); _reader.CacheConfigurator = config => config.SetAbsoluteExpiration(TimeSpan.FromSeconds(300)); }