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