Add a cache system on the referential info

+ Add an identity service
This commit is contained in:
Sébastien André
2021-04-17 22:17:45 +02:00
parent 0bb9ed2a30
commit 143127cd01
30 changed files with 955 additions and 570 deletions

View File

@@ -0,0 +1,19 @@
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
}
}