public static EmailStatusList checkEmails(EmailAddressRequest request) { if (merchantProvider == null) { throw new NotImplementedException("Couldn't find a valid IMerchantProvider implementation"); } logger.Debug("Expressly plugin endpoint 'checkEmails' is called. Params - EmailAddressRequest: " + request); return(merchantProvider.checkEmails(request)); }
public EmailStatusList checkEmails(EmailAddressRequest request) { var emailStatusList = new EmailStatusList { deleted = new List<string> { "*****@*****.**", "*****@*****.**" }, existing = new List<string> { "*****@*****.**", "*****@*****.**" }, pending = new List<string> { "*****@*****.**", "*****@*****.**" } }; return emailStatusList; }