Cucumber/Cloud/Services/Cache/IRedisCacheService.cs

13 lines
308 B
C#
Raw Normal View History

2024-12-01 19:33:52 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Cloud.Services.Cache
{
public interface IRedisCacheService
{
Task SetCacheAsync<T>(string key, T value, TimeSpan? expiry = null);
Task<T?> GetCacheAsync<T>(string key);
}
}