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

This commit is contained in:
he
2023-11-06 16:47:21 +08:00
3 changed files with 39 additions and 2 deletions
@@ -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();
}
}
}