public static Task BroadcastEmailAsync(this IEmailSender emailSender, string partnerId, BroadcastGroup broadcastGroup, string subject, string body) { var model = new PlainTextBroadCastData { Subject = subject, Text = body }; return(emailSender.SendEmailBroadcastAsync(partnerId, broadcastGroup, model)); }
public static Task BroadcastEmailAsync(this IEmailSender emailSender, BroadcastGroup broadcastGroup, string subject, string body) { var model = PlainTextBroadCastData.Create(subject, body); return(emailSender.SendEmailBroadcastAsync(broadcastGroup, model)); }