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