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:
1 parent
1152f4a45d
commit
8a00269ebd
7 files changed
+7
-21
No files matched your search
+1
-2
@@ -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