public IActionResult Delete(DeleteRoleViewModel model) { _roleAppService.DeleteRoleById(model.Id); return(Json(new JsonResultEntity() { Message = "删除角色成功!", JsonObject = Json(new { id = model.Id }) })); }