feat(dal): CacheService - структура + CacheMatchingStatusService

This commit is contained in:
Mikhail Trubnikov
2026-01-15 15:01:56 +10:00
parent d89347787e
commit b5c25f3110
12 changed files with 150 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
using PARR.DAL.Cache.Models;
namespace PARR.DAL.Cache.Services
{
public interface ICacheMatchingStatusService
{
Task<MatchingStatus?> GetDataByJobIdAsync(Guid jobId);
Task<MatchingStatus?> GetDataByJobGroupIdAsync(Guid jobGroupId);
Task SetCahcheByJobIdAsync(Guid jobId, MatchingStatusDto data);
Task SetCahcheByJobGroupIdAsync(Guid jobGroupId, MatchingStatusDto data);
Task DeleteCacheByJobIdAsync(Guid jobId);
Task DeleteCacheByJobGroupIdAsync(Guid jobGroupId);
}
}