feat(dal): CacheService - структура + CacheMatchingStatusService
This commit is contained in:
19
PARR.DAL/Cache/Services/ICacheMatchingStatusService.cs
Normal file
19
PARR.DAL/Cache/Services/ICacheMatchingStatusService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user