public CourseDirectoryController(
     IConfiguration configuration,
     ICourseDirectoryService courseDirectoryService,
     IMemoryCache memoryCache,
     ITelemetryClient telemetryClient,
     IOptions <App> appSettings,
     ICourseDirectory courseDirectory,
     IFileHelper fileHelper,
     ICourseDirectoryHelper requestModelHelper,
     IPostcodeService postcodeService,
     ICorrelationContextAccessor correlationContextAccessor)
 {
     Configuration              = configuration;
     Service                    = courseDirectoryService;
     Cache                      = memoryCache;
     Telemetry                  = telemetryClient;
     Settings                   = appSettings;
     CourseDirectory            = courseDirectory;
     Files                      = fileHelper;
     CourseDirectoryHelper      = requestModelHelper;
     PostcodeService            = postcodeService;
     CorrelationContextAccessor = correlationContextAccessor;
 }
 public CourseDirectory(IFileHelper fileHelper, ICourseDirectoryHelper courseDirectoryHelper)
 {
     FileHelper            = fileHelper;
     CourseDirectoryHelper = courseDirectoryHelper;
 }