Exemple #1
0
 public AccountController(ILogger <AccountController> logger,
                          UserManager <MoneroUser> userManager,
                          SignInManager <MoneroUser> loginManager,
                          ApplicationDBContext dbContext,
                          IMoneroEmailService emailService)
 {
     _logger       = logger;
     _userManager  = userManager;
     _loginManager = loginManager;
     _dbContext    = dbContext;
     _emailService = emailService;
 }
Exemple #2
0
 public AdminController(ILogger <AccountController> logger,
                        UserManager <MoneroUser> userManager,
                        SignInManager <MoneroUser> loginManager,
                        ApplicationDBContext dbContext,
                        IMoneroEmailService emailService,
                        RoleManager <IdentityRole> roleManager)
 {
     _logger       = logger;
     _userManager  = userManager;
     _loginManager = loginManager;
     _dbContext    = dbContext;
     _emailService = emailService;
     _roleManager  = roleManager;
 }