namespace Socialize.Infrastructure.BlobStorage.Contracts;
public interface IBlobStorage
{
///
/// Upload a file to blob storage.
///
/// The name of the container where the file is stored.
/// The blob name (path within the container, include the file name).
///
/// The content type.
/// The cancellation token
///
Task UploadFileAsync(
string containerName,
string blobName,
Stream stream,
string contentType,
CancellationToken ct = default);
///
/// Download a file to blob storage.
///
/// The blob name (path within the container).
/// The name of the container where the file is stored. (users)
/// The cancellation token for the request
///
Task DownloadFileAsync(
string containerName,
string blobName,
CancellationToken ct = default);
}