Removed duplicate memory cache services (#55)
Removed duplicate line services.AddMemoryCache();
This commit is contained in:
committed by
Steve Smith
parent
aca618316a
commit
d52dbb1915
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user