Ejemplo n.º 1
0
 public RolesController(IRoleModelBuilder roleModelBuilder,
                        RoleManager <IdentityRole> roleManager,
                        UserManager <IdentityUser> userManager)
 {
     _roleModelBuilder = roleModelBuilder;
     _roleManager      = roleManager;
     _userManager      = userManager;
 }
Ejemplo n.º 2
0
 public RolesController(
     IRoleService roleService,
     IAccessService accessService,
     ITokenService tokenService,
     IRoleModelBuilder roleModelBuilder,
     IPermissionFactory permissionFactory)
 {
     _roleService       = roleService;
     _accessService     = accessService;
     _tokenService      = tokenService;
     _roleModelBuilder  = roleModelBuilder;
     _permissionFactory = permissionFactory;
 }
 public PermissionSetModelBuilder(AtlesDbContext dbContext, IRoleModelBuilder roleManager)
 {
     _dbContext   = dbContext;
     _roleManager = roleManager;
 }