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