public IActionResult AddUser() { var vm = new AddUserViewModel { AllRoleList = _RoleInfoService.GetRoleList() }; return(View(vm)); }
public IActionResult RoleList() { var vm = new RoleListViewModel { RoleInfoList = _RoleInfoService.GetRoleList(), GetRoleMenuFunc = _MenuService.GetMenusByRoleId }; return(View(vm)); }