/// <summary>
 /// Delete a resource key - warning: this will delete all the associated resource strings in all languages
 /// for this key
 /// </summary>
 public void DeleteLocaleResourceKey(LocaleResourceKey resourceKey)
 {
     try
     {
         // Delete the key and its values
         _localizationRepository.DeleteResourceKey(resourceKey);
     }
     catch (Exception ex)
     {
         throw new ApplicationException(string.Format("Unable to delete resource key: {0}", ex.Message), ex);
     }
 }
 /// <summary>
 /// Delete a resource key - warning: this will delete all the associated resource strings in all languages
 /// for this key
 /// </summary>
 public void DeleteLocaleResourceKey(LocaleResourceKey resourceKey)
 {
     try
     {
         // Delete the key and its values
         _localizationRepository.DeleteResourceKey(resourceKey);
         _cacheService.ClearStartsWith(AppConstants.LocalisationCacheName);
     }
     catch (Exception ex)
     {
         throw new ApplicationException(string.Format("Unable to delete resource key: {0}", ex.Message), ex);
     }
 }