public CachedTenantService(DbTenantService service, TenantServiceCache tenantServiceCache) : this()
 {
     Service             = service ?? throw new ArgumentNullException("service");
     TenantServiceCache  = tenantServiceCache;
     CacheNotifyItem     = tenantServiceCache.CacheNotifyItem;
     CacheNotifySettings = tenantServiceCache.CacheNotifySettings;
 }
        public CachedTenantService(DbTenantService service, TenantServiceCache tenantServiceCache)
        {
            this.service       = service ?? throw new ArgumentNullException("service");
            cache              = AscCache.Memory;
            SettingsExpiration = TimeSpan.FromMinutes(2);

            TenantServiceCache  = tenantServiceCache;
            cacheNotifyItem     = tenantServiceCache.CacheNotifyItem;
            cacheNotifySettings = tenantServiceCache.CacheNotifySettings;
        }