17 lines
		
	
	
		
			602 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			602 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);
 | |
|         ValueTask<BlobDownloadUriAdapter> DownloadBlobAsync(string blobName);
 | |
|         Task<BlobFileAdapter?> DeleteBlobAsync(string fileName);
 | |
|     }
 | |
| }
 |