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