public ApprenticeshipInfoServiceWrapper(ICache cache, IApprenticeshipInfoServiceConfiguration configuration) { if (cache == null) { throw new ArgumentNullException(nameof(cache)); } if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } _cache = cache; _configuration = configuration; }
public ApprenticeshipInfoServiceWrapper(ICache cache, IApprenticeshipInfoServiceConfiguration config) { _cache = cache; _config = config; }