示例#1
0
 public IActionResult DeleteRoleUsers(string id, string roleId)
 {
     _sysRoleService.DeleteUserRole(id, roleId, UserId);
     AjaxData.Success = true;
     AjaxData.Message = "删除成功";
     return(Json(AjaxData));
 }
示例#2
0
 public IActionResult OnGet(Guid id, Guid roleId)
 {
     _sysRoleService.DeleteUserRole(id, roleId, UserId);
     AjaxData.Code    = 0;
     AjaxData.Message = "删除成功";
     return(Json(AjaxData));
 }