/// <inheritdoc /> public async Task <DeleteRecordsResponse> DeleteRecordsAsync(DeleteRecordsRequest request, CancellationToken cancellationToken = default) { DeleteRecordsServiceRequest serviceRequest = new DeleteRecordsServiceRequest( this.Service, request ); return(await serviceRequest.ExecuteAsync(cancellationToken)); }
/// <summary> /// Delete records from the workflow server. /// </summary> /// <param name="request">Delete request.</param> public DeleteRecordsResponse DeleteRecords(DeleteRecordsRequest request) { DeleteRecordsServiceRequest serviceRequest = new DeleteRecordsServiceRequest( this.Service, request ); DeleteRecordsResponse response = serviceRequest.Execute(); return(response); }