Browse Source

Fix UOW in StoresDataSeedContributor

pull/171/head
gdlcf88 4 years ago
parent
commit
688dadf141
  1. 4
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/StoresDataSeedContributor.cs

4
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/StoresDataSeedContributor.cs

@ -15,8 +15,8 @@ namespace EasyAbp.EShop.Stores
_storeDataSeeder = storeDataSeeder; _storeDataSeeder = storeDataSeeder;
} }
[UnitOfWork(true)] [UnitOfWork]
public async Task SeedAsync(DataSeedContext context) public virtual async Task SeedAsync(DataSeedContext context)
{ {
await _storeDataSeeder.SeedAsync(context); await _storeDataSeeder.SeedAsync(context);
} }

Loading…
Cancel
Save