Example #1
0
 public RequestController(ProfileContext context, IHostingEnvironment hostingEnvironment, UserManager <ApplicationUser> userManager, IEmailSend emailSend)
 {
     _context = context;
     this.hostingEnvironment = hostingEnvironment;
     _userManager            = userManager;
     _emailSend = emailSend;
 }
 public MainController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSend emailSend, ISmsSend smsSend)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSend     = emailSend;
     _smsSend       = smsSend;
 }
 public HomeController(ILogger <HomeController> logger, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IEmailSend emailSend)
 {
     _logger        = logger;
     _userManager   = userManager;
     _signInManager = signInManager;
     _emailSend     = emailSend;
 }
Example #4
0
 public WritaController(IDataHelper d, IBlogSettingsLoader b, ISettingsLoader i, IEmailSend e)
 {
     _dbhelper       = d;
     _blogsettings   = b;
     _globalsettings = i;
     _email          = e;
 }
Example #5
0
 public MainController(UserManager <ApplicationUser> _userManager, SignInManager <ApplicationUser> _signInManager, IEmailSend _emailSend,
                       ISmsSend _smsSend)
 {
     userManager   = _userManager;
     signInManager = _signInManager;
     emailSend     = _emailSend;
     smsSend       = _smsSend;
 }
Example #6
0
 public HomeController(ProfileContext context, UserManager <ApplicationUser> userManager,
                       SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IEmailSend emailSend)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     this.roleManager = roleManager;
     _context         = context;
     _emailSend       = emailSend;
 }
Example #7
0
 public EmailWrapper()
 {
     //default, using default conf
     emailSend = new SMTPEmailSend();
 }
Example #8
0
 public EmailWrapper(EmailOutlookProperties properties)
 {
     emailSend = new OutlookEmailSend(properties);
 }
Example #9
0
 public EmailWrapper(EmailSMTPProperties properties)
 {
     emailSend = new SMTPEmailSend(properties);
 }
 public ForgotPasswordController(UserManager <ApplicationUser> userManager, IEmailSend emailSend)
 {
     _emailSend   = emailSend;
     _userManager = userManager;
 }
Example #11
0
 public PersonLists(IEmailSend emailSend)
 {
     _emailSend = emailSend;
 }