Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created Apr 6, 2022
Embed
What would you like to do?
public async Task Handle(OrderRefunded message, IMessageHandlerContext context)
{
await context.SendLocal(new CancelOrder
{
OrderId = message.OrderId
// Translate OrderRefunded to CancelOrder
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment