private async Task DeleteManyAsync(IEnumerable <string> workflowInstanceIds, CancellationToken cancellationToken) { var specification = new WorkflowInstanceIdsSpecification(workflowInstanceIds); await _workflowInstanceStore.DeleteManyAsync(specification, cancellationToken); }
private async Task DeleteManyAsync(ICollection <string> workflowInstanceIds, CancellationToken cancellationToken) { _logger.LogInformation("Deleting {WorkflowInstanceCount} workflow instances", workflowInstanceIds.Count); var specification = new WorkflowInstanceIdsSpecification(workflowInstanceIds); await _workflowInstanceStore.DeleteManyAsync(specification, cancellationToken); }