Files
lct2025-lonolith/LctMonolith/Services/Contracts/IFileStorageService.cs
2025-10-01 01:42:45 +03:00

9 lines
379 B
C#

namespace LctMonolith.Services.Interfaces;
public interface IFileStorageService
{
Task<string> UploadAsync(Stream content, string contentType, string keyPrefix, CancellationToken ct = default);
Task DeleteAsync(string key, CancellationToken ct = default);
Task<string> GetPresignedUrlAsync(string key, TimeSpan? expires = null, CancellationToken ct = default);
}