|
|
@ -30,7 +30,7 @@ |
|
|
|
|
|
|
|
if (!context.CatalogBrands.Any()) |
|
|
|
{ |
|
|
|
context.CatalogBrands.AddRange(useCustomizationData |
|
|
|
await context.CatalogBrands.AddRangeAsync(useCustomizationData |
|
|
|
? GetCatalogBrandsFromFile(contentRootPath, logger) |
|
|
|
: GetPreconfiguredCatalogBrands()); |
|
|
|
|
|
|
@ -39,7 +39,7 @@ |
|
|
|
|
|
|
|
if (!context.CatalogTypes.Any()) |
|
|
|
{ |
|
|
|
context.CatalogTypes.AddRange(useCustomizationData |
|
|
|
await context.CatalogTypes.AddRangeAsync(useCustomizationData |
|
|
|
? GetCatalogTypesFromFile(contentRootPath, logger) |
|
|
|
: GetPreconfiguredCatalogTypes()); |
|
|
|
|
|
|
@ -48,7 +48,7 @@ |
|
|
|
|
|
|
|
if (!context.CatalogItems.Any()) |
|
|
|
{ |
|
|
|
context.CatalogItems.AddRange(useCustomizationData |
|
|
|
await context.CatalogItems.AddRangeAsync(useCustomizationData |
|
|
|
? GetCatalogItemsFromFile(contentRootPath, context, logger) |
|
|
|
: GetPreconfiguredItems()); |
|
|
|
|
|
|
|