Beispiel #1
0
 public RoleController(IRoleQuerier roleQuerier,
                       RoleManager roleManager,
                       IServiceProvider serviceProvider)
     : base(serviceProvider)
 {
     _roleQuerier = roleQuerier;
     _roleManager = roleManager;
 }
Beispiel #2
0
 public UserController(IServiceProvider serviceProvider,
                       IWebHostEnvironment environment,
                       UserManager userManager,
                       IRoleQuerier roleQuerier,
                       IUserQuerier userQuerier)
     : base(serviceProvider)
 {
     _userManager = userManager;
     _environment = environment;
     _roleQuerier = roleQuerier;
     _userQuerier = userQuerier;
 }