Example #1
0
 public Task RemoveWorkItemsByChannel(IReadOnlyCollection <ulong> channelIds)
 {
     if (channelIds.Any())
     {
         var options = _queryProvider.RemoveWorkItemsByChannelOptions(channelIds);
         using var command = CreateCommandWithParameters(options.Item1, options.Item2);
         command.ExecuteScalar();
     }
     return(Task.CompletedTask);
 }