mirror of
https://dev.azure.com/tstanciu94/Packages/_git/Netmash
synced 2025-07-30 11:11:10 +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 class CachingExtensions
|
||||||
{
|
{
|
||||||
public static void SetCacheProvider(this IServiceCollection services)
|
public static void AddCacheService(this IServiceCollection services)
|
||||||
{
|
{
|
||||||
services.AddDistributedMemoryCache();
|
services.AddDistributedMemoryCache();
|
||||||
services.AddScoped<ICacheService, CacheService>();
|
services.AddScoped<ICacheService, CacheService>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user