Initial commit

This commit is contained in:
Mark J Price 2022-08-17 16:53:29 +01:00
parent 82d7a2990d
commit 003d4056a9
4 changed files with 10 additions and 14 deletions

View file

@ -8,7 +8,7 @@ partial class Program
{
using (Northwind db = new())
{
if ((db.Products is null) || (db.Products.Count() == 0))
if ((db.Products is null) || (!db.Products.Any()))
{
Fail("There are no products.");
return;