修改删除
parent
a7429c1739
commit
105da818a8
|
@ -114,7 +114,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
[HttpDelete("{commonDocumentId:guid}")]
|
[HttpDelete("{commonDocumentId:guid}")]
|
||||||
public async Task<IResponseOutput> DeleteCommonDocument(Guid commonDocumentId)
|
public async Task<IResponseOutput> DeleteCommonDocument(Guid commonDocumentId)
|
||||||
{
|
{
|
||||||
var success = await _commonDocumentRepository.DeleteFromQueryAsync(t => t.Id == commonDocumentId, true);
|
var success = await _commonDocumentRepository.DeleteFromQueryAsync(t => t.Id == commonDocumentId, true,true);
|
||||||
return ResponseOutput.Ok();
|
return ResponseOutput.Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue