public void HandleEvent(EntityChangedEventData <ApplicationLanguageText> eventData)
 {
     _cacheManager
     .GetMultiTenantLocalizationDictionaryCache()
     .Remove(MultiTenantLocalizationDictionaryCacheHelper.CalculateCacheKey(
                 eventData.Entity.TenantId,
                 eventData.Entity.Source,
                 eventData.Entity.LanguageName)
             );
 }
 private string CalculateCacheKey(int?tenantId)
 {
     return(MultiTenantLocalizationDictionaryCacheHelper.CalculateCacheKey(tenantId, _sourceName, CultureInfo.Name));
 }