Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 27, 2017 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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