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