From 1632a2c3bf57c9cc3e19a585ec7d2e3bbbdabbb5 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 23 Nov 2022 17:33:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E7=AD=BE?= =?UTF-8?q?=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/TrialDocumentService.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index 6d70cbdec..76fd7ebd5 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -514,10 +514,9 @@ namespace IRaCIS.Core.Application.Services } - var success = await _repository.SaveChangesAsync(); - return ResponseOutput.Result(success); + return ResponseOutput.Ok(success); } [HttpPut("{trialId:guid}/{documentId:guid}")] @@ -531,7 +530,7 @@ namespace IRaCIS.Core.Application.Services } var success = await _repository.SaveChangesAsync(); - return ResponseOutput.Result(success); + return ResponseOutput.Ok(success); } ///