using Application.DTOs.FileDTOs; namespace Application.Abstractions.Interfaces { public interface IFileService { Task UploadProfilePhotoAsync(int userId, FileUploadDTO file, string contentRootPath); Task> UploadOrderImagesAsync(int orderId, List files, string contentRootPath); Task GetFileByIdAsync(int fileId); Task> GetOrderFilesAsync(int orderId); Task DeleteFileAsync(int fileId, string contentRootPath); Task DeleteProfilePhotoAsync(int userId, string contentRootPath); Task GetFileContentAsync(int fileId, string contentRootPath); Task IsUserAuthorizedForFileAsync(int fileId, int userId, bool isAdmin); } }