diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index bbdd30b1d..c53becf40 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -1092,6 +1092,7 @@ namespace IRaCIS.Core.Application.Services return ResponseOutput.NotOk(_localizer["TrialD_DuplicateFileInProject"]); } + entity.IsDeleted = true; //entity.Id = NewId.NextGuid(); await _trialDocumentRepository.AddAsync(entity, true); return ResponseOutput.Ok(entity.Id.ToString());