public BookEventHandler( IMailKitSmtpEmailSender mailKitSmtpEmailSender, EmailingTextTemplateService emailingTextTemplateService) { _mailKitSmtpEmailSender = mailKitSmtpEmailSender; _emailingTextTemplateService = emailingTextTemplateService; }
public DocumentEmailSenderService( IMailKitSmtpEmailSender emailSender, ICurrentUser currentUser, IHostingEnvironment hostingEnvironment, ISmtpEmailSenderConfiguration smtpEmailSenderConfiguration, IConfiguration configuration, IIdentityUserAppService identityUserAppService, IDepartmentAppService departmentAppService ) { _emailSender = emailSender; _currentUser = currentUser; _hostingEnvironment = hostingEnvironment; _smtpEmailSenderConfiguration = smtpEmailSenderConfiguration; _configuration = configuration; _identityUserAppService = identityUserAppService; _departmentAppService = departmentAppService; }