Пример #1
0
 protected ApiController(
     ConnectionMultiplexerProvider redis,
     ILogger <T> logger)
 {
     _redis  = redis.GetConnectionMultiplexer();
     _logger = logger;
 }
Пример #2
0
 protected RegistryApiController(
     IRestClient restClient,
     IFeatureToggle cacheToggle,
     ConnectionMultiplexerProvider redis,
     ILogger <T> logger) : base(redis, logger)
 {
     _restClient = restClient;
     CacheToggle = cacheToggle;
 }