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