async Task <bool> PerformBankAccountCheckAsync(SignupChecks checks, string accountNumber) { bool result = true; if ((checks & SignupChecks.PerformBankAccountCheck) == SignupChecks.PerformBankAccountCheck) { this.status.AppendStatus("PerformBankAccountCheckAsync: Starting."); result = await this.activityClient.ValidateBankAccount(accountNumber); this.status.AppendStatus("PerformBankAccountCheckAsync: Completed with result: " + result); } return(result); }
async Task <bool> PerformAddressCheckAsync(SignupChecks checks, CustomerAddress address) { bool result = true; // Check to see if Address check is requested for this application if ((checks & SignupChecks.PerformAddressCheck) == SignupChecks.PerformAddressCheck) { this.status.AppendStatus("PerformAddressCheck: Starting."); result = await this.activityClient.ValidateAddress(address); this.status.AppendStatus("PerformAddressCheck: Completed with result: " + result); } return(result); }