Method | Description | |
---|---|---|
CanDelete ( Site item, string &errorMessage, bool includeSecondLvl ) : bool |
Determines whether the specified site can be deleted. Performs some additional checks that are missing from the auto-generated SiteService.CanDelete(). TODO This should move into the SiteService CanDelete at some point once the generator tool is adjusted.
|
|
GetByDefaultPageId ( int defaultPageId ) : IQueryable |
Returns a collection of Rock.Model.Site entities that by their Default
|
|
GetGuid ( int id ) : Guid? |
Gets the Guid for the Site that has the specified Id
|
public CanDelete ( Site item, string &errorMessage, bool includeSecondLvl ) : bool | ||
item | Site | The item. |
errorMessage | string | The error message. |
includeSecondLvl | bool | If set to true, verifies that there are no site layouts with any existing pages. |
return | bool |
public GetByDefaultPageId ( int defaultPageId ) : IQueryable |
||
defaultPageId | int | An |
return | IQueryable |