public AddOrganisationSearchService(
     IDataRepository dataRepository,
     ICompaniesHouseAPI companiesHouseApi)
 {
     this.dataRepository    = dataRepository;
     this.companiesHouseApi = companiesHouseApi;
 }
示例#2
0
 public PublicSectorRepository(IDataRepository dataRepository, ICompaniesHouseAPI companiesHouseAPI,
                               SharedOptions sharedOptions,
                               IOrganisationBusinessLogic organisationBusinessLogic)
 {
     _DataRepository            = dataRepository;
     _CompaniesHouseAPI         = companiesHouseAPI;
     _sharedOptions             = sharedOptions;
     _organisationBusinessLogic = organisationBusinessLogic;
 }
 public OrganisationService(
     IDataRepository dataRepository,
     ICompaniesHouseAPI companiesHouseApi,
     AuditLogger auditLogger)
 {
     this.dataRepository    = dataRepository;
     this.companiesHouseApi = companiesHouseApi;
     this.auditLogger       = auditLogger;
 }
示例#4
0
 public AdminOrganisationAddressController(
     IDataRepository dataRepository,
     ICompaniesHouseAPI companiesHouseApi,
     AuditLogger auditLogger)
 {
     this.dataRepository    = dataRepository;
     this.companiesHouseApi = companiesHouseApi;
     this.auditLogger       = auditLogger;
 }
 public UpdateFromCompaniesHouseService(IEventLogger customLogger, IDataRepository dataRepository, IOrganisationBusinessLogic organisationBusinessLogic,
                                        ICompaniesHouseAPI companiesHouseAPI, IPostcodeChecker postcodeChecker)
 {
     _CustomLogger              = customLogger;
     _DataRepository            = dataRepository;
     _organisationBusinessLogic = organisationBusinessLogic;
     _CompaniesHouseAPI         = companiesHouseAPI;
     _PostcodeChecker           = postcodeChecker;
 }
示例#6
0
 public AdminOrganisationCompaniesHouseOptInOutController(IDataRepository dataRepository,
                                                          AuditLogger auditLogger,
                                                          ICompaniesHouseAPI companiesHouseApi,
                                                          UpdateFromCompaniesHouseService updateFromCompaniesHouseService)
 {
     this.dataRepository    = dataRepository;
     this.auditLogger       = auditLogger;
     this.companiesHouseApi = companiesHouseApi;
     this.updateFromCompaniesHouseService = updateFromCompaniesHouseService;
 }
 public AddOrganisationFoundController(
     IDataRepository dataRepository,
     ICompaniesHouseAPI companiesHouseApi,
     OrganisationService organisationService,
     RegistrationRepository registrationRepository)
 {
     this.dataRepository         = dataRepository;
     this.companiesHouseApi      = companiesHouseApi;
     this.organisationService    = organisationService;
     this.registrationRepository = registrationRepository;
 }
示例#8
0
 public AdminOrganisationNameController(
     IAdminService adminService,
     ICompaniesHouseAPI companiesHouseApi,
     AuditLogger auditLogger,
     ILogger <AdminOrganisationNameController> logger, IWebService webService,
     ISharedBusinessLogic sharedBusinessLogic) : base(logger, webService, sharedBusinessLogic)
 {
     _adminService          = adminService;
     this.companiesHouseApi = companiesHouseApi;
     this.auditLogger       = auditLogger;
 }
 public AdminOrganisationCompaniesHouseOptInOutController(
     IAdminService adminService, 
     AuditLogger auditLogger,
     ICompaniesHouseAPI companiesHouseApi,
     UpdateFromCompaniesHouseService updateFromCompaniesHouseService)
 {
     _adminService = adminService;
     this.auditLogger = auditLogger;
     this.companiesHouseApi = companiesHouseApi;
     this.updateFromCompaniesHouseService = updateFromCompaniesHouseService;
 }
示例#10
0
 public AdminOrganisationAddressController(
     IAdminService adminService,
     ICompaniesHouseAPI companiesHouseApi,
     IUpdateFromCompaniesHouseService updateFromCompaniesHouseService,
     AuditLogger auditLogger,
     ILogger <AdminOrganisationAddressController> logger, IWebService webService,
     ISharedBusinessLogic sharedBusinessLogic) : base(logger, webService, sharedBusinessLogic)
 {
     _adminService = adminService;
     UpdateFromCompaniesHouseService = updateFromCompaniesHouseService;
     this.auditLogger  = auditLogger;
     CompaniesHouseApi = companiesHouseApi;
 }
示例#11
0
 public PrivateSectorRepository(
     SharedOptions sharedOptions,
     IHttpContextAccessor httpContextAccessor,
     IHttpSession session,
     IDataRepository dataRepository,
     ICompaniesHouseAPI companiesHouseAPI,
     IOrganisationBusinessLogic organisationBusinessLogic)
 {
     SharedOptions = sharedOptions ?? throw new ArgumentNullException(nameof(sharedOptions));
     _httpContextAccessor = httpContextAccessor;
     _Session = session;
     _DataRepository = dataRepository;
     _CompaniesHouseAPI = companiesHouseAPI;
     _organisationBusinessLogic = organisationBusinessLogic;
 }
示例#12
0
 public UpdateFromCompaniesHouseService(IDataRepository dataRepository, ICompaniesHouseAPI companiesHouseApi)
 {
     this.dataRepository    = dataRepository;
     this.companiesHouseApi = companiesHouseApi;
 }