示例#1
0
        public void SetUpFixture()
        {
            _connection = new GetOpenConnectionFromConnectionString(
                DatabaseConfigurationProvider.Instance.TargetConnectionString);

            _employerReadRepository  = new EmployerRepository(_connection, _mapper);
            _employerWriteRepository = new EmployerRepository(_connection, _mapper);
        }
示例#2
0
 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;
 }
示例#3
0
 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;
 }