Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created May 3, 2016 01:57
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/bef791b956b98bdab73612859dc6fb04 to your computer and use it in GitHub Desktop.
Save dcomartin/bef791b956b98bdab73612859dc6fb04 to your computer and use it in GitHub Desktop.
public static class HangfireHelpers
{
public static IMediator Mediator { private get; set; }
public static void Send(IRequest command)
{
Mediator.Send(command);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment