public ValidationController( IConsultantContext consultantContext, IQuartetClientFactory clientFactory, IAddressVerificationService addressVerificationService ) { _consultantContext = consultantContext; _clientFactory = clientFactory; _addressVerificationService = addressVerificationService; }
public async Task <VerifyAddressPayload> VerifyAddress([Service] IAddressVerificationService service, VerifyAddressInput address) { return(new VerifyAddressPayload(await service.VerifyAddressAsync(address))); }