Newer
Older
Warehouse / src / Application / Products / EmailSaleToCustomers.cs
@Derek Comartin Derek Comartin on 22 Aug 2023 371 bytes Init
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;
    }
}