25 lines
682 B
C#
25 lines
682 B
C#
using TrackCenter.Domain.Aggregates.KPIAreaAggregate;
|
|
|
|
namespace TrackCenter.Application.Services.ForewarningServices;
|
|
|
|
public class KpiAreaCacheService : ITransientDependency
|
|
{
|
|
const string GlobalKpiAreaLockKey = "KpiAreaCacheService_GlobalLock";
|
|
IKpiAreaRepository _kpiAreaRepository;
|
|
|
|
public KpiAreaCacheService(IKpiAreaRepository kpiAreaRepository)
|
|
{
|
|
_kpiAreaRepository = kpiAreaRepository;
|
|
}
|
|
|
|
private string GetKey(int systemId, string country)
|
|
{
|
|
return $"{GlobalConst.KpiAreaKeyPrefix}:{systemId}:{country}";
|
|
}
|
|
|
|
public Task GetKpiArea(int systemId, string country)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|