public void SetUpFixture() { _connection = new GetOpenConnectionFromConnectionString( DatabaseConfigurationProvider.Instance.TargetConnectionString); _employerReadRepository = new EmployerRepository(_connection, _mapper); _employerWriteRepository = new EmployerRepository(_connection, _mapper); }
public GetByEdsUrnStrategy(IEmployerReadRepository employerReadRepository, IEmployerWriteRepository employerWriteRepository, IOrganisationService organisationService, IAddressLookupProvider addressLookupProvider, IMapper mapper, ILogService logService) { _employerReadRepository = employerReadRepository; _employerWriteRepository = employerWriteRepository; _organisationService = organisationService; _mapper = mapper; _logService = logService; _addressLookupProvider = addressLookupProvider; }
public GetByIdStrategy(IEmployerReadRepository employerReadRepository, ILogService logService) { _employerReadRepository = employerReadRepository; _logService = logService; }
public SearchEmployersStrategy(IEmployerReadRepository employerReadRepository, IOrganisationService organisationService, IMapper mapper) { _employerReadRepository = employerReadRepository; _organisationService = organisationService; _mapper = mapper; }
public GetByIdsStrategy(IEmployerReadRepository employerReadRepository) { _employerReadRepository = employerReadRepository; }