Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task SendMailAsync(EmailMessageParams param) { EmailTemplate messageTemplate; if (string.IsNullOrEmpty(param.TemplateName)) { messageTemplate = EmailTemplate.Default; } else { messageTemplate = await _templateRepository.FindByNameAsync(param.TemplateName); } await _emailSender.SendMailAsync(messageTemplate.CreateMessage(param)); }