mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-15 04:11:38 +00:00
21 lines
643 B
C#
21 lines
643 B
C#
using System.Collections.Generic;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface IFileRepository
|
|
{
|
|
IEnumerable<File> GetFiles(int folderId);
|
|
IEnumerable<File> GetFiles(int folderId, bool tracking);
|
|
File AddFile(File file);
|
|
File UpdateFile(File file);
|
|
File GetFile(int fileId);
|
|
File GetFile(int fileId, bool tracking);
|
|
File GetFile(int folderId, string fileName);
|
|
File GetFile(int siteId, string folderPath, string fileName);
|
|
void DeleteFile(int fileId);
|
|
string GetFilePath(int fileId);
|
|
string GetFilePath(File file);
|
|
}
|
|
}
|