public SearchClient(MapBoxClient client, IOptions <SearchClientSettings> settings, IMapper <Feature, GeolocationDto> mapper) { this.client = client; this.mapper = mapper; this.configuration = settings.Value; }
public MatrixClient(MapBoxClient client, IOptions <MatrixClientSettings> settings, IMapper <MatrixResponse, MatrixRouteDto> mapper) { this.client = client; this.configuration = settings.Value; _mapper = mapper; }