13 lines
353 B
C#
13 lines
353 B
C#
using FileService.Application.StorageContracts;
|
|
|
|
namespace FileService.Application.Ports
|
|
{
|
|
public interface IStorageRedisCache
|
|
{
|
|
Task SetAsync(UploadRuntimeCache upload);
|
|
Task DeleteAsync(string sessionId);
|
|
Task DeleteByTaskIdAsync(string taskId);
|
|
Task<UploadRuntimeCache?> GetAsync(string sessionId);
|
|
}
|
|
}
|