Files
PowderCoatingLogix/src/PowderCoating.Application/Interfaces/IAzureBlobStorageService.cs
T
2026-04-23 21:38:24 -04:00

23 lines
692 B
C#

namespace PowderCoating.Application.Interfaces;
public interface IAzureBlobStorageService
{
Task<(bool Success, string ErrorMessage)> UploadAsync(
string containerName,
string blobName,
Stream content,
string contentType);
Task<(bool Success, byte[] Content, string ContentType, string ErrorMessage)> DownloadAsync(
string containerName,
string blobName);
Task<(bool Success, string ErrorMessage)> DeleteAsync(
string containerName,
string blobName);
Task<bool> ExistsAsync(string containerName, string blobName);
Task<IEnumerable<string>> ListBlobsByPrefixAsync(string containerName, string prefix);
}