oqtane.framework/Oqtane.Server/Repository/Interfaces/IPageRepository.cs
2019-11-10 14:56:29 -05:00

17 lines
412 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);
Page GetPage(int PageId, int UserId);
void DeletePage(int PageId);
}
}