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