public async Task Handle(CompleteOrder message, IMessageHandlerContext context) { // code to handle order completion MarkAsComplete(); }
public Task Handle(CompleteOrder message, IMessageHandlerContext context) { // code to handle order completion MarkAsComplete(); return(Task.CompletedTask); }