oqtane.framework/Oqtane.Server/Repository/Interfaces/IPageRepository.cs

16 lines
366 B
C#

using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
public interface IPageRepository
{
IEnumerable<Page> GetPages();
IEnumerable<Page> GetPages(int SiteId);
Page AddPage(Page Page);
Page UpdatePage(Page Page);
Page GetPage(int PageId);
void DeletePage(int PageId);
}
}