Пример #1
0
 public MailCommandHandlers(
     MailerDbContext dbContext,
     IMailClient mailClient,
     IMailDomainValidator domainValidator)
 {
     _dbContext       = dbContext;
     _mailClient      = mailClient;
     _domainValidator = domainValidator;
 }
Пример #2
0
 public AttachmentCommandHandler(MailerDbContext dbContext, IMailDomainValidator domainValidator)
 {
     _dbContext       = dbContext;
     _domainValidator = domainValidator;
 }