C# Class Rock.Model.PersonViewedService

Data Access/service class for Rock.Model.PersonViewed entities.
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetByTargetPersonId ( int targetPersonId ) : IEnumerable

Returns an enumerable collection of Rock.Model.PersonViewed entities by the Id of the Target Rock.Model.Person

GetByViewerPersonId ( int viewerPersonId ) : IEnumerable

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

Method Details

GetByTargetPersonId() public method

Returns an enumerable collection of Rock.Model.PersonViewed entities by the Id of the Target Rock.Model.Person
public GetByTargetPersonId ( int targetPersonId ) : IEnumerable
targetPersonId int An representing the Id of the Target to search by.
return IEnumerable

GetByViewerPersonId() public method

Returns an enumerable collection of Rock.Model.PersonViewed entities by the Id of the Viewer Rock.Model.Person.
public GetByViewerPersonId ( int viewerPersonId ) : IEnumerable
viewerPersonId int A representing the Id of the Viewer
return IEnumerable