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