예제 #1
0
 public async Task <IActionResult> RoleAccountAdd(string userName, string roleName)
 {
     return(Json(await _roleService.AddRoleUser(userName, roleName)));
 }
예제 #2
0
 public IActionResult UserForm(int roleId, int[] userIdList)
 {
     _roleService.AddRoleUser(roleId, userIdList);
     return(SuccessJsonResult());
 }