mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
Initial commit
This commit is contained in:
parent
80c6528295
commit
b92b5a8e11
|
|
@ -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>();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,5 +44,5 @@ if (ReadKey(intercept: true).Key == ConsoleKey.Enter)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WriteLine("Delete was cancelled.");
|
WriteLine("Delete was canceled.");
|
||||||
}
|
}
|
||||||
|
|
@ -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>();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,5 +44,5 @@ if (ReadKey(intercept: true).Key == ConsoleKey.Enter)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WriteLine("Delete was cancelled.");
|
WriteLine("Delete was canceled.");
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue