public Worker(ILogger <Worker> logger, IServiceScopeFactory serviceScopeFactory, EmailNotificationConfig emailNotificationConfig, SmsNotificationConfig smsNotificationConfig) { this.logger = logger; this.serviceScopeFactory = serviceScopeFactory; this.emailNotificationConfig = emailNotificationConfig; this.smsNotificationConfig = smsNotificationConfig; }
public EmailNotificator(EmailNotificationConfig config) { this.config = config; }