public RegisterModel( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, //ILogger<RegisterModel> logger, IConfiguration configuration, IEmailSender emailSender, IRoleKeyMethods roleKeyMethods, ApplicationDbContext context ) { _context = context; _userManager = userManager; _configuration = configuration; _signInManager = signInManager; //_logger = logger; //_roleManager = roleManager; _emailSender = emailSender; this.roleKeyMethods = roleKeyMethods; }
public ManageController(IUserMethods userMethods, IRoleKeyMethods roleKeyMethods) { _userMethods = userMethods; this.roleKeyMethods = roleKeyMethods; }