public ForgotPasswordModel(UserManager <User> userManager, Microsoft.AspNetCore.Identity.UI.Services.IEmailSender emailSender, IAuthService au, IGlobalService globalService) { _userManager = userManager; _emailSender = emailSender; _au = au; _globalService = globalService; }
public UserRegistrationController(IUnitofWork unitofWork, IMapper mapper, IWebHostEnvironment hostingEnvironment, UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager, SignInManager <IdentityUser> signInManager, IEmailSender emailSender) { _unitofWork = unitofWork; _mapper = mapper; _hostingEnvironment = hostingEnvironment; _userManager = userManager; _roleManager = roleManager; _signInManager = signInManager; _emailSender = emailSender; }
public AccountController(UserManager <ApplicationUser> usermanager, SignInManager <ApplicationUser> signinmanager, RoleManager <IdentityRole> roleManager, Microsoft.AspNetCore.Identity.UI.Services.IEmailSender emailSender, IConfiguration configuration, ApplicationDbContext _context, IHostingEnvironment hostingEnvironment, IHubContext <NotificationHub> _hubContext) { Usermanager = usermanager; Signinmanager = signinmanager; Rolemanager = roleManager; _emailSender = emailSender; Configuration = configuration; this.hostingEnvironment = hostingEnvironment; util = new utilities(_context, hostingEnvironment, configuration); hubContext = _hubContext; }