Browse Source
* Refactoring to move data access code into Infrastructure project * Fixing namespacesmain
committed by
GitHub
9 changed files with 17 additions and 18 deletions
@ -1,14 +1,13 @@ |
|||||
namespace Microsoft.eShopWeb.Infrastructure |
using Microsoft.AspNetCore.Builder; |
||||
{ |
using Microsoft.eShopWeb.ApplicationCore.Entities; |
||||
using Microsoft.AspNetCore.Builder; |
using Microsoft.Extensions.Logging; |
||||
using Microsoft.EntityFrameworkCore; |
using System; |
||||
using Microsoft.eShopWeb.ApplicationCore.Entities; |
using System.Collections.Generic; |
||||
using Microsoft.Extensions.Logging; |
using System.Linq; |
||||
using System; |
using System.Threading.Tasks; |
||||
using System.Collections.Generic; |
|
||||
using System.Linq; |
|
||||
using System.Threading.Tasks; |
|
||||
|
|
||||
|
namespace Infrastructure.Data |
||||
|
{ |
||||
public class CatalogContextSeed |
public class CatalogContextSeed |
||||
{ |
{ |
||||
public static async Task SeedAsync(IApplicationBuilder applicationBuilder, ILoggerFactory loggerFactory, int? retry = 0) |
public static async Task SeedAsync(IApplicationBuilder applicationBuilder, ILoggerFactory loggerFactory, int? retry = 0) |
||||
@ -1,9 +1,9 @@ |
|||||
using ApplicationCore.Interfaces; |
using ApplicationCore.Interfaces; |
||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||
using Microsoft.eShopWeb.ApplicationCore.Entities; |
using Microsoft.eShopWeb.ApplicationCore.Entities; |
||||
using Microsoft.eShopWeb.Infrastructure; |
|
||||
using Microsoft.EntityFrameworkCore; |
using Microsoft.EntityFrameworkCore; |
||||
using System; |
using System; |
||||
|
using Infrastructure.Data; |
||||
|
|
||||
namespace Web.Services |
namespace Web.Services |
||||
{ |
{ |
||||
Loading…
Reference in new issue