api/HamyanEdalat.Core/Abstracts/IStorageService.cs

9 lines
429 B
C#
Raw Normal View History

2024-03-09 19:53:01 +03:30
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);
}