Files
Core.Thalos.DAL.API/Core.Cerberos.Infraestructure/Caching/Contracts/ICacheService.cs
Sergio Matias Urquin c34987797a Add project files.
2025-04-29 18:55:44 -06:00

12 lines
371 B
C#

namespace Core.Cerberos.Infraestructure.Caching.Contracts
{
public interface ICacheService
{
Task<T> GetAsync<T>(string key);
Task SetAsync<T>(string key, T value, TimeSpan? expiry = null);
Task RemoveAsync(string key);
Task<bool> ExistsAsync(string key);
Task RefreshAsync(string key, TimeSpan? expiry = null);
}
}