using Nop.Core.Caching; using Nop.Core.Domain.Directory; using Nop.Services.Caching; namespace Nop.Services.Directory.Caching; /// /// Represents a country cache event consumer /// public partial class CountryCacheEventConsumer : CacheEventConsumer { /// /// Clear cache by entity event type /// /// Entity /// Entity event type /// A task that represents the asynchronous operation protected override async Task ClearCacheAsync(Country entity, EntityEventType entityEventType) { await RemoveByPrefixAsync(NopEntityCacheDefaults.Prefix); } }