Core.Blueprint.DAL/Core.Blueprint.DAL.Storage/Contracts/IBlobStorageService.cs
Sergio Matias Urquin 6358f5f199 Add project files.
2025-04-29 18:39:57 -06:00

17 lines
591 B
C#

using Azure;
using Azure.Storage.Blobs.Models;
using Core.Blueprint.Storage;
using Core.Blueprint.Storage.Adapters;
namespace Core.Blueprint.DAL.Storage.Contracts
{
public interface IBlobStorageService
{
Task<IEnumerable<BlobFileAdapter>> GetBlobsListAsync(string? prefix);
Task<Response<BlobContentInfo>> UploadBlobAsync(string blobName, Stream content);
Task<BlobFileAdapter> UploadBlobAsync(BlobAddDto newBlob);
BlobDownloadUriAdapter DownloadBlobAsync(string blobName);
Task<BlobFileAdapter?> DeleteBlobAsync(string fileName);
}
}