public CacheController(ICacheManagerHelper cacheService) { CacheService = cacheService; }
// public ICacheManagerHelper CacheManagerHelper { get; set; } public OrderService(ICacheManagerHelper cacheManagerHelper) { this.SimpleRepository = new SimpleRepository(ConnectionStrings.KEY_ORDER, SimpleRepositoryOptions.RunMigrations); this.SimpleOracleRepository = new SubSonicOracle.SimpleRepository(ConnectionStrings.KEY_ORACLE_GENERAL, SubSonicOracle.SimpleRepositoryOptions.RunMigrations); this.CacheManagerHelper = cacheManagerHelper; }
public CacheDecoratorBase(ICacheManagerHelper cacheManagerHelper) { RedisCacheManagerHelper = cacheManagerHelper; }