Files
components/LiteCharms.Features/S3/Abstractions/IS3Service.cs
T
Khwezi Mngoma ccf30ac36b
continuous-integration/drone/pr Build is passing
Optimised UploadFileAsync()
Implemented and tested DeleteFileAsync()
2026-05-20 15:32:54 +02:00

8 lines
325 B
C#

namespace LiteCharms.Features.S3.Abstractions;
public interface IS3Service
{
Task<Result<string>> UploadFileAsync(string fileName, Stream fileStream, string contentType, CancellationToken cancellationToken = default);
Task<Result> DeleteFileAsync(string fileKey, CancellationToken cancellationToken = default);
}