C# Class Rock.Model.PageViewService

Data Access/service class for Rock.Model.PageView entities.
Show file Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetByPageId ( int pageId ) : IEnumerable

Returns an enumerable collection of Rock.Model.PageView entities by the Id of the Rock.Model.Page

GetByPersonId ( int personId ) : IEnumerable

Returns an enumerable collection of Rock.Model.PageView entities by the Id of the Viewer Rock.Model.Person.

Method Details

GetByPageId() public method

Returns an enumerable collection of Rock.Model.PageView entities by the Id of the Rock.Model.Page
public GetByPageId ( int pageId ) : IEnumerable
pageId int The page identifier.
return IEnumerable

GetByPersonId() public method

Returns an enumerable collection of Rock.Model.PageView entities by the Id of the Viewer Rock.Model.Person.
public GetByPersonId ( int personId ) : IEnumerable
personId int The person identifier.
return IEnumerable