async Task IDeleter.DeleteAppAsync(IAppEntity app, CancellationToken ct) { if (options.FolderPerApp) { await assetStore.DeleteByPrefixAsync($"{app.Id}/", ct); } else { await foreach (var asset in assetRepository.StreamAll(app.Id, ct)) { await DeleteAsync(app.Id, asset.Id, ct); } } }