public GetUpdatesRecurringJob(IDeezerApiService deezerApiService, IDataRepository dataRepository, IConfigurationService configurationService, IDeemixService deemixService) { _deezerApiService = deezerApiService ?? throw new ArgumentNullException(nameof(deezerApiService)); _dataRepository = dataRepository ?? throw new ArgumentNullException(nameof(dataRepository)); _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService)); _deemixService = deemixService ?? throw new ArgumentException(nameof(deemixService)); }
public CheckArtistForUpdatesBackgroundJob(DelayConfiguration delayConfiguration, IDeezerApiService deezerApiService, IDataRepository dataRepository, IDeemixService deemixService, IMapper mapper) { _delayConfiguration = delayConfiguration ?? throw new ArgumentNullException(nameof(delayConfiguration)); _deezerApiService = deezerApiService ?? throw new ArgumentNullException(nameof(deezerApiService)); _dataRepository = dataRepository ?? throw new ArgumentNullException(nameof(dataRepository)); _deemixService = deemixService ?? throw new ArgumentNullException(nameof(deemixService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }