19 lines
506 B
C#
19 lines
506 B
C#
using PARR.Constants;
|
|
using PARR.DAL.Cache.Models;
|
|
|
|
namespace PARR.DAL.Cache.Services
|
|
{
|
|
/// <summary>
|
|
/// Сервис - статус matching`a
|
|
/// </summary>
|
|
public interface ICacheMatchingStatusService
|
|
{
|
|
Task<MatchingStatus?> GetDataAsync(Guid id, SyncTaskEntityTypeEnum type);
|
|
|
|
Task SetCacheAsync(Guid id, SyncTaskEntityTypeEnum type, MatchingStatusDto data, TimeSpan cacheDuration);
|
|
|
|
Task DeleteCacheAsync(Guid id, SyncTaskEntityTypeEnum type);
|
|
|
|
}
|
|
}
|