Netmash.Extensions.Caching - AddCacheService
parent
6e2605e31f
commit
ff2c7b7edf
|
@ -7,7 +7,7 @@ namespace Netmash.Extensions.Caching
|
|||
{
|
||||
public static class CachingExtensions
|
||||
{
|
||||
public static void SetCacheProvider(this IServiceCollection services)
|
||||
public static void AddCacheService(this IServiceCollection services)
|
||||
{
|
||||
services.AddDistributedMemoryCache();
|
||||
services.AddScoped<ICacheService, CacheService>();
|
||||
|
|
Loading…
Reference in New Issue