Api/NetinaShop.Core/Abstracts/IStorageService.cs

9 lines
406 B
C#

namespace NetinaShop.Core.Abstracts;
public interface IStorageService : IScopedDependency
{
Task<string> UploadObjectFromFileAsync(string fileName, string filePath, string contentType, byte[] fileBytes);
Task<string> UploadObjectFromFileAsync(string fileName, string filePath, string contentType, Stream fileStream);
Task<List<StorageFileSDto>> GetStorageFiles(StorageFileType fileType);
}