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); } ///