public Task <SqlDeleteAsyncResponse> DeleteAsyncSearchAsync(Elastic.Clients.Elasticsearch.Id id, Action <SqlDeleteAsyncRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new SqlDeleteAsyncRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <SqlDeleteAsyncRequestDescriptor, SqlDeleteAsyncResponse>(descriptor)); }
public SqlDeleteAsyncResponse DeleteAsyncSearch(Elastic.Clients.Elasticsearch.Id id, Action <SqlDeleteAsyncRequestDescriptor> configureRequest = null) { var descriptor = new SqlDeleteAsyncRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <SqlDeleteAsyncRequestDescriptor, SqlDeleteAsyncResponse>(descriptor)); }