api/NetinaCMS.Core/Abstracts/IStorageService.cs

9 lines
426 B
C#
Raw Permalink Normal View History

2024-03-24 12:35:42 +03:30
namespace NetinaCMS.Core.Abstracts;
2024-03-09 19:53:01 +03:30
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, bool fixName = true);
Task<List<StorageFileSDto>> GetStorageFiles(StorageFileType fileType);
}