Files
Backend-Api/AccountManagement.Application.Contracts/Media/IMediaApplication.cs
2025-06-02 22:20:04 +03:30

16 lines
612 B
C#

using _0_Framework.Application;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
namespace AccountManagement.Application.Contracts.Media
{
public interface IMediaApplication
{
MediaViewModel Get(long id);
OperationResult UploadFile(IFormFile file, string fileLabel, string relativePath, int maximumFileLength,
List<string> allowedExtensions, string category);
OperationResult MoveFile(long mediaId, string newRelativePath);
OperationResult DeleteFile(long mediaId);
List<MediaViewModel> GetRange(IEnumerable<long> select);
}
}