Exemple #1
0
 public Task <ServiceStandardResponse <EmailTemplateServiceProcessResult> > SendEmailAsync(string templateName, List <EmailMergeModelData> emailMergeModelData, TemplateEmailSenderInformation request)
 {
     return(Task.FromResult(new ServiceStandardResponse <EmailTemplateServiceProcessResult>()));
 }
Exemple #2
0
 public Task <ServiceStandardResponse <EmailTemplateServiceProcessResult> > SendEmailAsync(string templateName, List <EmailMergeModelData> emailMergeModelData, TemplateEmailSenderInformation request)
 {
     return(ServiceCaller.PostAsync <EmailTemplateServiceProcessResult>(EndPoints.SendEmail, new HttpSendEmailCommand
     {
         EmailMergeModelData = emailMergeModelData,
         Request = request,
         TemplateName = templateName
     }).ContinueWith(x => new ServiceStandardResponse <EmailTemplateServiceProcessResult>(x.Result)));
 }