//private readonly IMediator mediator; public TestService(IDemo _demo, /*IMediator _mediator,*/ IHangfireClient _hangfireClient) { hangfireClient = _hangfireClient; demo = _demo; //mediator = _mediator; }
public ValuesController(IHangfireClient hangfireClient) { _hangfireClient = hangfireClient; }
/// <summary> /// Initializes a new instance of the <see cref="BackgroundJobQueue"/> class. /// </summary> /// <param name="client">The hangfire client.</param> public BackgroundJobQueue(IHangfireClient client) { this.client = client; jobs = new ConcurrentBag <Job>(); }