예제 #1
0
 public AuthService(EmailDbContext context, ILoggerFactory logger)
 {
     _logger  = logger.CreateLogger <AuthService>();
     _clients = context.Set <ServiceClient>();
 }
예제 #2
0
 public StatusService(EmailDbContext dbContext, ILoggerFactory logger)
 {
     _logger = logger.CreateLogger <StatusService>();
     _emails = dbContext.Set <EmailTrail>();
 }
예제 #3
0
 public RabbitService(EmailDbContext dbContext, ILoggerFactory logger)
 {
     _logger    = logger.CreateLogger <RabbitService>();
     _emails    = dbContext.Set <EmailTrail>();
     _dbContext = dbContext;
 }