public SendGridNotificationBatch( MailNotificationsConfiguration configuration, IEnumerable <INotification> notifications) { _configuration = configuration; _notifications.AddRange(notifications); }
public SendGridNotificationService(IOptions <MailNotificationsConfiguration> configuration) { _configuration = configuration.Value; }