Exemple #1
0
 public RoleController(
     ICreateRoleService createRoleService,
     IUpdateRoleService updateRoleService,
     IGetRolesService getRolesService,
     IGetPermissionsService getPermissionsService)
 {
     this.createRoleService     = createRoleService;
     this.updateRoleService     = updateRoleService;
     this.getRolesService       = getRolesService;
     this.getPermissionsService = getPermissionsService;
 }
Exemple #2
0
 public RoleController(
     SiteSettings siteSettings,
     IAddRoleScopeRelationService addRoleScopeRelationService,
     IAddRoleService addRoleService,
     IDeleteRoleScopeRelationService deleteRoleScopeRelationService,
     IDeleteRoleService deleteRoleService,
     IFindRoleService findRoleService,
     IGetRolesService getRolesService,
     IGetScopesService getScopesService,
     IUpdateRoleService updateRoleService)
 {
     _siteSettings = siteSettings;
     _addRoleScopeRelationService = addRoleScopeRelationService;
     _addRoleService = addRoleService;
     _deleteRoleScopeRelationService = deleteRoleScopeRelationService;
     _deleteRoleService = deleteRoleService;
     _findRoleService   = findRoleService;
     _getRolesService   = getRolesService;
     _getScopesService  = getScopesService;
     _updateRoleService = updateRoleService;
 }