Files
SkydiveLogs/Back/skydiveLogs-api.DomainBusiness/Interfaces/ICacheService.cs
2021-08-11 22:37:14 +02:00

19 lines
442 B
C#

using skydiveLogs_api.Domain;
namespace skydiveLogs_api.DomainBusiness.Interfaces
{
public interface ICacheService
{
#region Public Methods
bool Contains(CacheType type, int userId = 0);
void Delete(CacheType type, int userId = 0);
T Get<T>(CacheType type, int userId = 0);
void Put(CacheType type, object value, int duration, int userId = 0);
#endregion Public Methods
}
}