This commit is contained in:
MarcEricMartel
2022-10-16 08:25:21 -07:00
parent 0cc291b2a8
commit dbc1c78f07
9 changed files with 111 additions and 56 deletions

View File

@@ -16,9 +16,9 @@ public class InventoryContext : DbContext {
Title = $"Ceinture flèchée",
Category = $"Linge",
Description = $"Pour faire votre propre bonhomme de 1837, comme dans le bon vieux temps.",
Status = Product.States.Promotion,
Price = 85.86M,
Quantity = 1,
isDiscontinued = false,
ImageName = $"ceintureflechee"
});
modelBuilder.Entity<Product>().HasData(new Product {
@@ -26,9 +26,9 @@ public class InventoryContext : DbContext {
Title = $"Pantoufles du Canadien en Phentex",
Category = $"Linge",
Description = $"Parce que ça sent la coupe!",
Status = Product.States.Available,
Price = 15.64M,
Quantity = 54,
isDiscontinued = false,
ImageName = $"pantouflesCH"
});
modelBuilder.Entity<Product>().HasData(new Product {
@@ -36,9 +36,9 @@ public class InventoryContext : DbContext {
Title = $"Jean-Luc Mongrain",
Category = $"Homme",
Description = $"On ne lui ferait pas mal, en tout cas!!",
Status = Product.States.Clearance,
Price = 1453.12M,
Quantity = 1,
isDiscontinued = true,
ImageName = $"jeanlucmongrain"
});
}