context to catalogContext (#493)
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
|
||||
try
|
||||
{
|
||||
// TODO: Only run this if using a real database
|
||||
// context.Database.Migrate();
|
||||
// catalogContext.Database.Migrate();
|
||||
if (!await catalogContext.CatalogBrands.AnyAsync())
|
||||
{
|
||||
await catalogContext.CatalogBrands.AddRangeAsync(
|
||||
|
||||
Reference in New Issue
Block a user