Ejemplo n.º 1
0
 public Task <ServiceStandardResponse <EmailTemplateServiceProcessResult> > SendEmailAsync(string templateName, List <EmailMergeModelData> emailMergeModelData, TemplateEmailSenderInformation request)
 {
     return(Task.FromResult(new ServiceStandardResponse <EmailTemplateServiceProcessResult>()));
 }
Ejemplo n.º 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)));
 }