Exemple #1
0
 public EmailManager(IEmailService emailService, IEmailRepo emailRepo)
 {
     this.emailService = emailService;
     this.emailRepo    = emailRepo;
 }
 public EmailController(IEmailRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public EmailServices(SmtpClient smtpClient, IEmailRepo emailRepo)
 {
     _smtpClient = smtpClient;
     _emailRepo  = emailRepo;
 }
Exemple #4
0
 public EmailsController(IEmailRepo emailRepo, ILogger <EmailsController> logger)
 {
     _emailRepo = emailRepo;
     _logger    = logger;
 }