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:
Eric Fleming committed 2019-03-01 22:21:12 -05:00
1 parent 1152f4a45d
commit 8a00269ebd
7 files changed
+7 -21

No files matched your search

+1 -2
View File
@@ -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>();