public ActionResult SaveUser(EditUserInputDto userInput) { try { if (userInput.Id == Guid.Empty) { this.userService.Add(userInput); } else { this.userService.Update(userInput); } return this.Json(OperationResult.Success("保存成功")); } catch (Exception e) { return this.Json(OperationResult.Error("保存失败," + e.Message)); } }