16 lines
612 B
C#
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);
|
|
}
|
|
} |