Exemplo n.º 1
0
 public AdminController(ILogger <AdminController> logger, IConfiguration config, IUnitOfWork unitOfWork, ICustomEmailSender emailSender)
 {
     _logger      = logger;
     _config      = config;
     _unitOfWork  = unitOfWork;
     _emailSender = emailSender;
 }
Exemplo n.º 2
0
 public AppController(ILogger <AppController> logger, IConfiguration config, IUnitOfWork unitOfWork,
                      IMapper mapper, ICustomEmailSender emailSender, IIPLoggerService ipService)
 {
     _logger      = logger;
     _config      = config;
     _unitOfWork  = unitOfWork;
     _mapper      = mapper;
     _emailSender = emailSender;
     _ipService   = ipService;
 }
Exemplo n.º 3
0
 public HomeController(ILogger <HomeController> logger, IWebHostEnvironment env,
                       IUserRepository userRepository, IMapper mapper, ICustomEmailSender emailSender,
                       EmailSendingChannel emailSendingChannel)
 {
     _logger              = logger;
     _env                 = env;
     _userRepository      = userRepository;
     _mapper              = mapper;
     _emailSender         = emailSender;
     _emailSendingChannel = emailSendingChannel;
 }
Exemplo n.º 4
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ICustomEmailSender emailSender,
     ILogger <AccountController> logger)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSender   = emailSender;
     _logger        = logger;
 }
Exemplo n.º 5
0
 public AuthenticationController(
     IUserViewModelFactory userViewModelFactory,
     IUserRegistrationService userRegistrationService,
     UserManager <IntegratorUser> userManager,
     SignInManager <IntegratorUser> signInManager,
     ICustomEmailSender emailSender
     )
 {
     this._userViewModelFactory    = userViewModelFactory;
     this._userRegistrationService = userRegistrationService;
     this._signInManager           = signInManager;
     this._userManager             = userManager;
     this._emailSender             = emailSender;
 }
Exemplo n.º 6
0
 public AccountController(ILogger <AccountController> logger, IUnitOfWork unitOfWork, SignInManager <ApplicationUser> signInManager,
                          IConfiguration config, IMapper mapper, ICustomEmailSender emailSender, ICryptoService cryptoService,
                          DomainParser domainParser, IOptions <InvalidEmailDomains> invalidEmailDomains, IOptions <InvalidEmailTLDs> invalidEmailTLDs)
 {
     _logger              = logger;
     _unitOfWork          = unitOfWork;
     _signInManager       = signInManager;
     _config              = config;
     _mapper              = mapper;
     _emailSender         = emailSender;
     _cryptoService       = cryptoService;
     _domainParser        = domainParser;
     _invalidEmailDomains = invalidEmailDomains.Value;
     _invalidEmailTLDs    = invalidEmailTLDs.Value;
 }
 public EmailSenderProxy(ICustomEmailSender customEmailSender)
 {
     _customEmailSender = customEmailSender;
 }
Exemplo n.º 8
0
 public EmailSendingService(EmailSendingChannel emailSendingChannel, ICustomEmailSender customEmailSender)
 {
     _emailSendingChannel = emailSendingChannel;
     _customEmailSender   = customEmailSender;
 }