This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-04 14:06:24 -04:00

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, int userId);
Page GetPage(string path, int siteId);
void DeletePage(int pageId);
}
}