Exemplo n.º 1
0
        /// <inheritdoc />
        public async Task <DeleteRecordsResponse> DeleteRecordsAsync(DeleteRecordsRequest request, CancellationToken cancellationToken = default)
        {
            DeleteRecordsServiceRequest serviceRequest = new DeleteRecordsServiceRequest(
                this.Service,
                request
                );

            return(await serviceRequest.ExecuteAsync(cancellationToken));
        }
Exemplo n.º 2
0
        /// <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);
        }