public static Task RemoveAllAsync <TEntity>( this IAsyncStore <TEntity> store, CancellationToken cancellation, params TEntity[] entities) where TEntity : class { AllMethodContracts(store, entities); return(store.RemoveAllAsync(entities, cancellation)); }
public static Task RemoveAllAsync <TEntity>( this IAsyncStore <TEntity> store, params TEntity[] entities) where TEntity : class => store.RemoveAllAsync(CancellationToken.None, entities);