public async Task <string> FormatEmailMessage <T>(string templateName, T model) where T : class { var template = await _templateProvider.GetTemplateContent(templateName); return(_templateParser.Format <T>(template, model)); }
public async Task <string> FormatEmailMessage <T>(string templateName, T model) where T : class { var template = await _templateProvider.GetTemplateContent(templateName); return(_templateParser.Format <T>(template, model)); }