Files
Backend-Api/AccountManagement.Application.Contracts/Media/IMediaApplication.cs
2025-05-21 18:25:09 +03:30

17 lines
574 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);
}
}