Files
SkydiveLogs/Back/skydiveLogs-api.DomainBusiness/Interfaces/ICacheService.cs
Sébastien André 143127cd01 Add a cache system on the referential info
+ Add an identity service
2021-04-17 22:17:45 +02:00

19 lines
426 B
C#

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