using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { public interface IFileService { Task> GetFilesAsync(int folderId); Task> GetFilesAsync(string folder); Task GetFileAsync(int fileId); Task AddFileAsync(File file); Task UpdateFileAsync(File file); Task DeleteFileAsync(int fileId); Task UploadFileAsync(string url, int folderId); Task UploadFilesAsync(int folderId, string[] files, string fileUploadName); Task UploadFilesAsync(string folder, string[] files, string fileUploadName); Task DownloadFileAsync(int fileId); Task> GetFilesAsync(int siteId, string folderPath); } }