context to catalogContext (#493)

This commit is contained in:
Shady Nagy authored and GitHub committed 2021-02-13 10:51:03 -05:00
1 parent ba9aea29bd
commit 7a7625662e
1 file changed
+1 -1
@@ -16,7 +16,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
try try
{ {
// TODO: Only run this if using a real database // TODO: Only run this if using a real database
// context.Database.Migrate(); // catalogContext.Database.Migrate();
if (!await catalogContext.CatalogBrands.AnyAsync()) if (!await catalogContext.CatalogBrands.AnyAsync())
{ {
await catalogContext.CatalogBrands.AddRangeAsync( await catalogContext.CatalogBrands.AddRangeAsync(