public DependencyModule(
     ILogger <DependencyModule> logger,
     CompaniesHouseOptions companiesHouseOptions
     )
 {
     _logger = logger;
     _companiesHouseOptions = companiesHouseOptions;
 }
 public CompaniesHouseAPI(CompaniesHouseOptions options, SharedOptions sharedOptions)
 {
     Options = options ?? throw new ArgumentNullException("You must provide the companies house options",
                                                          nameof(CompaniesHouseOptions));
     SharedOptions = sharedOptions ?? throw new ArgumentNullException(nameof(sharedOptions));
     BaseUri       = new Uri(Options.ApiServer);
     _apiKey       = Options.ApiKey;
     MaxRecords    = Options.MaxRecords;
 }