Skip to main content

Bulk delete

Delete multiple todos


public void DeleteRange(IEnumerable<Todo> todos)
=> dbContext.Todos.DeleteRange(todos);

public Task DeleteRangeAsync(IEnumerable<Todo> todos)
=> dbContext.Todos.DeleteRangeAsync(todos);