using MyWarehouse.Domain.Products; namespace MyWarehouse.Application.Products; public class EmailSaleToCustomers : IHandleMessages<FlashSaleStarted> { public Task Handle(FlashSaleStarted message, IMessageHandlerContext context) { // Get a list of customers that have this item in their wishlist and email them return Task.CompletedTask; } }