public HrDataservice(IHrDataServiceHttpClient httpClientFactory,
                      IHRDataserviceMessageParser hRDataserviceMessageParser,
                      ISettingsService settingsService)
 {
     _httpClientFactory          = httpClientFactory;
     _hRDataserviceMessageParser = hRDataserviceMessageParser;
     _settingsService            = settingsService;
     _klantReferentie            = _settingsService.GetSettings <HrDataserviceSettings>().KlantReferentie
                                   ?? throw new Exception("Missing setting 'KlantReferentie!'");
 }
 public KvkController(IKvkSearchApi kvkSearchApi, IHrDataservice hrDataservice, IHRDataserviceMessageParser messageParser)
 {
     _kvkSearchApi  = kvkSearchApi;
     _hrDataservice = hrDataservice;
     _messageParser = messageParser;
 }