public ActionResult Update(UserModel model) { try { var user = SysService.UpdateUser(model); return(Json(ResultData.Create(user), "text/html")); } catch (Exception ex) { return(Json(ResultData.CreateError(ex.Message), "text/html")); } }