internal async Task DeleteItemAsync(DdbClassInfo classInfo, BuilderNode node, CancellationToken cancellationToken = default) { using var httpContent = new DeleteItemHighLevelHttpContent(this, classInfo, node); using var response = await Api.SendAsync(Config, httpContent, cancellationToken).ConfigureAwait(false); await ReadAsync <object>(response, cancellationToken).ConfigureAwait(false); }
internal async Task <DeleteItemEntityResponse <TEntity> > DeleteItemResponseAsync <TEntity>(DdbClassInfo classInfo, BuilderNode node, CancellationToken cancellationToken = default) where TEntity : class { using var httpContent = new DeleteItemHighLevelHttpContent(this, classInfo, node); using var response = await Api.SendAsync(Config, httpContent, cancellationToken).ConfigureAwait(false); return(await ReadAsync <DeleteItemEntityResponse <TEntity> >(response, cancellationToken).ConfigureAwait(false)); }