Exemple #1
0
        public IActionResult AddUser()
        {
            var vm = new AddUserViewModel
            {
                AllRoleList = _RoleInfoService.GetRoleList()
            };

            return(View(vm));
        }
Exemple #2
0
        public IActionResult RoleList()
        {
            var vm = new RoleListViewModel
            {
                RoleInfoList = _RoleInfoService.GetRoleList(), GetRoleMenuFunc = _MenuService.GetMenusByRoleId
            };

            return(View(vm));
        }