20 lines
537 B
C#
20 lines
537 B
C#
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);
|
|
}
|
|
}
|