api/HamyanEdalat.Core/Abstracts/IStorageService.cs

9 lines
429 B
C#

namespace HamyanEdalat.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, bool fixName = true);
Task<List<StorageFileSDto>> GetStorageFiles(StorageFileType fileType);
}