mirror of
https://dev.azure.com/tstanciu94/Packages/_git/Netmash
synced 2025-06-21 19:22:38 +03:00
Netmash.Extensions.Caching - AddCacheService
This commit is contained in:
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…
x
Reference in New Issue
Block a user