public NCSPeriodEndPrepTimedHostedService( ILogger logger, INCSPeriodEndService periodEndService, IPeriodEndPrepHubEventBase eventBase, ISerialisationHelperService serialisationHelperService, NCSPeriodEndPrepHub periodEndPrepHub) : base("NCS Period End Prep", logger, serialisationHelperService) { _logger = logger; _periodEndService = periodEndService; _periodEndPrepHub = periodEndPrepHub; eventBase.PeriodEndHubPrepCallback += RegisterClient; }
public PeriodEndPrepHub( IPeriodEndPrepHubEventBase eventBase, IHubContext <PeriodEndPrepHub> hubContext, IPeriodEndService periodEndService, IEmailService emailService, IStateService stateService, IPeriodService periodService, ILogger logger) { _eventBase = eventBase; _hubContext = hubContext; _periodEndService = periodEndService; _emailService = emailService; _stateService = stateService; _periodService = periodService; _logger = logger; }