コード例 #1
0
 public SysRolesController(ISysRolesService rolesService, ISysModulesService sysModulesService)
 {
     _rolesService   = rolesService;
     _modulesService = sysModulesService;
 }
コード例 #2
0
 public SysUsersController(ISysUserService usersService, ISysRolesService rolesService, UserManager <SysUsers> userManager)
 {
     _usersService = usersService;
     _rolesService = rolesService;
     _userManager  = userManager;
 }