/// <summary>
 /// Refresh cached data.
 /// </summary>
 /// <param name="userContext">User context.</param>
 protected override void RefreshCache(IUserContext userContext)
 {
     lock (RegionTypes)
     {
         RegionTypes.Clear();
     }
     lock (RegionCategories)
     {
         RegionCategories.Clear();
     }
 }
 /// <summary>
 /// Refresh cached data.
 /// </summary>
 /// <param name="userContext">User context.</param>
 protected virtual void RefreshCache(IUserContext userContext)
 {
     RegionTypes.Clear();
     RegionCategories.Clear();
 }