public static void EmailVerification(string applicationGuid, string emailAddress)
 {
     var emailsClient = new EmailsClient();
     var loanApplicationTasksClient = new LoanApplicationTasksClient();
     Dictionary <string, string> emailVerificationDetails = GetEmailVerificationDetails(emailAddress);
     var verificationGuid = emailVerificationDetails["guid"];
     var result           = emailsClient.VerifyEmail(verificationGuid);
     var resp2            = loanApplicationTasksClient.GetTasksList(applicationGuid);
     var taskList2        = resp2.content;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MandarinGrpcEmailService"/> class.
 /// </summary>
 /// <param name="emailsClient">The gRPC client to Mandarin API for Emails.</param>
 /// <param name="mapper">The mapping service between CLR types.</param>
 public MandarinGrpcEmailService(EmailsClient emailsClient, IMapper mapper)
 {
     this.emailsClient = emailsClient;
     this.mapper       = mapper;
 }