Removing IRepository
- This also involved cleaning up places where IRepository was still being references in Startup - Removed unused repository from Basket service
This commit is contained in:
@@ -84,8 +84,7 @@ namespace Microsoft.eShopWeb.Web
|
||||
ConfigureCookieSettings(services);
|
||||
|
||||
CreateIdentityIfNotCreated(services);
|
||||
|
||||
services.AddScoped(typeof(IRepository<>), typeof(EfRepository<>));
|
||||
|
||||
services.AddScoped(typeof(IAsyncRepository<>), typeof(EfRepository<>));
|
||||
|
||||
services.AddScoped<ICatalogService, CachedCatalogService>();
|
||||
|
||||
Reference in New Issue
Block a user