public Functions(
     StorageOptions storageOptions,
     IEventLogger customLogger,
     [KeyFilter(Filenames.BadSicLog)] IAuditLogger badSicLog,
     [KeyFilter(Filenames.ManualChangeLog)] IAuditLogger manualChangeLog,
     IMessenger messenger,
     ISharedBusinessLogic sharedBusinessLogic,
     ISearchRepository <EmployerSearchModel> employerSearchRepository,
     ISearchRepository <SicCodeSearchModel> sicCodeSearchRepository,
     ISubmissionBusinessLogic submissionBusinessLogic,
     IOrganisationBusinessLogic organisationBusinessLogic,
     ISearchBusinessLogic searchBusinessLogic,
     IGovNotifyAPI govNotifyApi,
     UpdateFromCompaniesHouseService updateFromCompaniesHouseService,
     IAuthorisationBusinessLogic authorisationBusinessLogic)
 {
     _StorageOptions                  = storageOptions;
     _CustomLogger                    = customLogger;
     _BadSicLog                       = badSicLog;
     _ManualChangeLog                 = manualChangeLog;
     _Messenger                       = messenger;
     _SharedBusinessLogic             = sharedBusinessLogic;
     _EmployerSearchRepository        = employerSearchRepository;
     _SicCodeSearchRepository         = sicCodeSearchRepository;
     _SubmissionBusinessLogic         = submissionBusinessLogic;
     _OrganisationBusinessLogic       = organisationBusinessLogic;
     SearchBusinessLogic              = searchBusinessLogic;
     _updateFromCompaniesHouseService = updateFromCompaniesHouseService;
     _authorisationBusinessLogic      = authorisationBusinessLogic;
     this.govNotifyApi                = govNotifyApi;
 }
 public SharedBusinessLogic(SharedOptions sharedOptions, ISnapshotDateHelper snapshotDateHelper,
                            ISourceComparer sourceComparer,
                            ISendEmailService sendEmailService,
                            INotificationService notificationService,
                            IAuthorisationBusinessLogic authorisationBusinessLogic,
                            IAuthenticationBusinessLogic authenticationBusinessLogic,
                            IFileRepository fileRepository, IDataRepository dataRepository, IObfuscator obfuscator)
 {
     SharedOptions               = sharedOptions;
     _snapshotDateHelper         = snapshotDateHelper;
     SourceComparer              = sourceComparer;
     SendEmailService            = sendEmailService;
     NotificationService         = notificationService;
     AuthorisationBusinessLogic  = authorisationBusinessLogic;
     AuthenticationBusinessLogic = authenticationBusinessLogic;
     FileRepository              = fileRepository;
     DataRepository              = dataRepository;
     Obfuscator = obfuscator;
 }