public Task SendNotificationAsync(NotificationData notification) { return(this.sendMailFunc(notification)); }
public Task SendNotificationAsync(NotificationData notification) { return(this.smtpClient.SendMailAsync(new MailMessage("*****@*****.**", notification.RecipientEmailAddress, notification.Subject, notification.Body))); }