public LocationSearchPostcodeService(ILocationRepository repository, ILocationQueryValidator queryValidator, ILocationQuerySanitiser postCodeSanitiser, ILocationModelMapper locationModelMapper) : base(queryValidator) { _repository = repository; _postCodeSanitiser = postCodeSanitiser; _locationModelMapper = locationModelMapper; }
public LocationController(ILocationQueryValidator queryValidator, ILocationRetrievalService retrievalService, ILocationSearchService searchService, ILocationSearchPostcodeService searchPostcodeService, ILocationQueryFields locationQueryFields) { _queryValidator = queryValidator; _retrievalService = retrievalService; _searchService = searchService; _searchPostcodeService = searchPostcodeService; _locationQueryFields = locationQueryFields; }
public LocationSearchService(ILocationGroupRepository groupRepository, ILocationQueryValidator queryValidator, ILocationQuerySanitiser searchSanitiser, ILocationQueryFields locationQueryFields, ILocationIdEncoder encoder) : base(queryValidator) { _searchSanitiser = searchSanitiser; _locationQueryFields = locationQueryFields; _encoder = encoder; _groupRepository = groupRepository; }
protected LocationSearchBaseService(ILocationQueryValidator queryValidator) { _queryValidator = queryValidator; }