13 lines
375 B
C#
13 lines
375 B
C#
namespace TuneRipper.Api.Services;
|
|
|
|
public interface ISessionService
|
|
{
|
|
string CreateSession();
|
|
string GetOrCreateSession(string? sessionId);
|
|
bool IsValidSession(string sessionId);
|
|
void CleanupExpiredSessions();
|
|
string GetDownloadsRootPath();
|
|
string GetSessionDownloadsPath(string sessionId);
|
|
void EnsureSessionDirectoryExists(string sessionId);
|
|
}
|