Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 27, 2017 02:51
Show Gist options
  • Save dcomartin/0ffd2d751bc478720ed01bdbdfd7f6a2 to your computer and use it in GitHub Desktop.
Save dcomartin/0ffd2d751bc478720ed01bdbdfd7f6a2 to your computer and use it in GitHub Desktop.
public class PaymentCommand : ICommand { }
public class PaymentHandler : ICommandHandler<PaymentCommand>
{
public async Task Handle(PaymentCommand command)
{
// Do some stuff...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment