private static void RemoveBooks(BookShopContext context) { var deletedBooks = context.Books.Delete(b => b.Copies < 4200); Console.WriteLine($"{deletedBooks} books were deleted"); }
private static void RemoveBooks(BookShopContext context) { var deletedBooks = context.Books.Delete(b => b.Copies < 4200); Console.WriteLine($"{deletedBooks} books were deleted"); }