Removed duplicate memory cache services (#55)

Removed duplicate line services.AddMemoryCache();
This commit is contained in:
Alan Macgowan
2017-10-18 14:00:03 -03:00
committed by Steve Smith
parent aca618316a
commit d52dbb1915

View File

@@ -67,7 +67,6 @@ namespace Microsoft.eShopWeb
services.AddScoped(typeof(IRepository<>), typeof(EfRepository<>));
services.AddScoped(typeof(IAsyncRepository<>), typeof(EfRepository<>));
services.AddMemoryCache();
services.AddScoped<ICatalogService, CachedCatalogService>();
services.AddScoped<IBasketService, BasketService>();
services.AddScoped<IOrderService, OrderService>();