using GozareshgirProgramManager.Domain.FileManagementAgg.Entities;
namespace GozareshgirProgramManager.Application.Services.FileManagement;
///
/// سرویس ذخیرهسازی فایل
///
public interface IFileStorageService
{
///
/// آپلود فایل
///
Task<(string StoragePath, string StorageUrl)> UploadAsync(
Stream fileStream,
string uniqueFileName,
string category);
///
/// حذف فایل
///
Task DeleteAsync(string storagePath);
///
/// دریافت فایل
///
Task GetFileStreamAsync(string storagePath);
///
/// بررسی وجود فایل
///
Task ExistsAsync(string storagePath);
///
/// دریافت URL فایل
///
string GetFileUrl(string storagePath);
}