Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Discounts;
using Nop.Services.Caching;
namespace Nop.Services.Discounts.Caching;
///
/// Represents a discount-product mapping cache event consumer
///
public partial class DiscountProductMappingCacheEventConsumer : CacheEventConsumer
{
protected override async Task ClearCacheAsync(DiscountProductMapping entity)
{
await RemoveAsync(NopDiscountDefaults.AppliedDiscountsCacheKey, nameof(Product), entity.EntityId);
await base.ClearCacheAsync(entity);
}
}