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
2019-03-01 22:21:12 -05:00
parent 1152f4a45d
commit 8a00269ebd
7 changed files with 7 additions and 21 deletions

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>();