Merge branch 'Test.IRC' of http://192.168.3.69:2000/XCKJ/irc-netcore-api into Test.IRC

IRC_NewDev
hang 2023-11-07 11:42:12 +08:00
commit bd31a3a598
2 changed files with 8 additions and 3 deletions

View File

@ -110,5 +110,13 @@ namespace IRaCIS.Core.Application.Service
}
[HttpDelete("{commonDocumentId:guid}")]
public async Task<IResponseOutput> DeleteCommonDocument(Guid commonDocumentId)
{
var success = await _commonDocumentRepository.DeleteFromQueryAsync(t => t.Id == commonDocumentId, true);
return ResponseOutput.Ok();
}
}
}

View File

@ -2359,9 +2359,6 @@ namespace IRaCIS.Application.Services
{
throw new BusinessValidationFailedException(_localizer["ReadingImage_ClinicalRead"]);
}
return ResponseOutput.Ok(true);
}