public async Task <DeleteResponse> DeleteDocumentAsync(Document document, CancellationToken cancellationToken) { return(await elasticsearchClient.DeleteAsync(document.Id.ToString(), cancellationToken)); }
public async Task <DeleteResponse> DeleteDocumentAsync(Document document, CancellationToken cancellationToken) { return(await elasticsearchClient.DeleteAsync(document.Id.ToString(), cancellationToken)); }