mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-14 18:54:32 +00:00
17 lines
421 B
C#
17 lines
421 B
C#
using System.Collections.Generic;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface IPageRepository
|
|
{
|
|
IEnumerable<Page> GetPages(int siteId);
|
|
Page AddPage(Page page);
|
|
Page UpdatePage(Page page);
|
|
Page GetPage(int pageId);
|
|
Page GetPage(int pageId, bool tracking);
|
|
Page GetPage(string path, int siteId);
|
|
void DeletePage(int pageId);
|
|
}
|
|
}
|