Exemplo n.º 1
0
 public UserManagerService(IPermissionController permissionController, IUserController userController, IRoleController roleController, IScriptExecutor scriptExecutor, IDepartmentController departmentController)
 {
     _permissionController = permissionController;
     _userController       = userController;
     _roleController       = roleController;
     _scriptExecutor       = scriptExecutor;
     _departmentController = departmentController;
 }
Exemplo n.º 2
0
 public RoleController(IPermissionController permissionController)
 {
     _permissionController = permissionController;
 }
Exemplo n.º 3
0
 public RequestManager(IPermissionController permissionController)
 {
     _permissionController = permissionController;
 }
 public ModuleWithPermissions(IModule parent, IPermissionController permissionController) : base(parent)
 {
     mPermissionController = permissionController;
     AddCommands();
     AddPermissioins();
 }
 public ModuleWithPermissions(IPermissionController permissionController) : this(null, permissionController)
 {
 }
 public BotCommandWithPermissions(IModule parentModule, MethodInfo commandMethod, IPermissionController permissionController)
     : base(parentModule, commandMethod)
 {
     mPermissionController = permissionController;
 }
 private PermissionControllerService()
 {
     mPermissionController = new PermissionController();
 }