public AlertsController( IAlertsService alertService, IQuotesService quotesService, AlertsHub alertsHub ) { this.alertsService = alertService; this.quotesService = quotesService; this.alertsHub = alertsHub; }
public AlertsListenerService( AlertsHub alertsHub, IServiceProvider serviceProvider, IHttpContextAccessor httpContextAccessor ) { this.alertsHub = alertsHub; this.serviceProvider = serviceProvider; this.httpContextAccessor = httpContextAccessor; }