Initial commit

This commit is contained in:
Mark J Price 2022-07-24 20:31:20 +01:00
parent 80c6528295
commit b92b5a8e11
4 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ public class Category
public Category() public Category()
{ {
// to enable developers to add products to a Category we must // to enable developers to add products to a Category, we must
// initialize the navigation property to an empty collection // initialize the navigation property to an empty collection
Products = new HashSet<Product>(); Products = new HashSet<Product>();
} }

View file

@ -44,5 +44,5 @@ if (ReadKey(intercept: true).Key == ConsoleKey.Enter)
} }
else else
{ {
WriteLine("Delete was cancelled."); WriteLine("Delete was canceled.");
} }

View file

@ -17,7 +17,7 @@ public class Category
public Category() public Category()
{ {
// to enable developers to add products to a Category we must // to enable developers to add products to a Category, we must
// initialize the navigation property to an empty collection // initialize the navigation property to an empty collection
Products = new HashSet<Product>(); Products = new HashSet<Product>();
} }

View file

@ -44,5 +44,5 @@ if (ReadKey(intercept: true).Key == ConsoleKey.Enter)
} }
else else
{ {
WriteLine("Delete was cancelled."); WriteLine("Delete was canceled.");
} }