public MailerService(ILoggerFactory loggerFactory, MailQueueRepository messageQueueRepository) { _logger = loggerFactory.CreateLogger <MailerService>(); _messageQueueRepository = messageQueueRepository; }
public MailerService(ILogger <MailerService> logger, MailQueueRepository messageQueueRepository) { _logger = logger; _messageQueueRepository = messageQueueRepository; }