Skip to content

Instantly share code, notes, and snippets.

Created March 14, 2021 18:36
What would you like to do?
public async Task<bool> DoWork(IList<SomeItem> items)
foreach (var item in items.Where(x => x.Id % 2 == 0))
await _someRepo.DeleteItem(item.Id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment