16 lines
545 B
C#
16 lines
545 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);
|
|
OperationResult MoveFile(long mediaId, string newRelativePath);
|
|
OperationResult DeleteFile(long mediaId);
|
|
List<MediaViewModel> GetRange(IEnumerable<long> select);
|
|
}
|
|
}
|