Пример #1
0
 public PrivilegeController(IWebAppContext appContext
                            , IPrivilegeService privilegeService
                            , IPrivilegeTreeBuilder privilegeTreeBuilder)
     : base(appContext)
 {
     _privilegeService     = privilegeService;
     _privilegeTreeBuilder = privilegeTreeBuilder;
 }
Пример #2
0
 public UserController(IWebAppContext appContext
                       , ISystemUserService userService
                       , IPrivilegeTreeBuilder privilegeTreeBuilder
                       , ISystemUserPermissionService systemUserPermissionService)
     : base(appContext)
 {
     _userService                 = userService;
     _privilegeTreeBuilder        = privilegeTreeBuilder;
     _systemUserPermissionService = systemUserPermissionService;
 }