9 lines
444 B
C#
9 lines
444 B
C#
namespace Netina.Core.Abstracts;
|
|
|
|
public interface IStorageService : IScopedDependency
|
|
{
|
|
Task<string> UploadObjectFromFileAsync(string fileName, string filePath, string contentType, byte[] fileBytes, bool fixName = true);
|
|
Task<string> UploadObjectFromFileAsync(string fileName, string filePath, string contentType, Stream fileStream, bool fixName = true);
|
|
|
|
Task<List<StorageFileSDto>> GetStorageFiles(StorageFileType fileType);
|
|
} |