public async Task BulkDelete() { var items = await repository.Search("Item "); foreach (var item in items) { await repository.Delete(item.Id); } }
public Task Delete(Guid id) { return(repository.Delete(id)); }
public async Task BulkDelete() { var items = await repository.Search("Item "); foreach (var item in items) { await repository.Delete(item.Id); } }
public Task Delete(Guid id) { return(repository.Delete(id)); }