Nucleus .Net Core CMS

Managers.ISiteGroupManager Interface

Namespace: Nucleus.Abstractions.Managers
Assembly: Nucleus.Abstractions.dll
Provides functions to manage database data for Models.SiteGroups.

Remarks

Get an instance of this class from dependency injection by including a parameter in your class constructor.

Methods

CreateNew

CreateNew ()
Create a new Models.SiteGroup with default values.
Remarks
This function does not save the new Models.SiteGroup to the database. Call Save to save the Site group.

Get (Guid) Method

Get (Guid id)
Retrieve an existing Models.SiteGroup from the database.
Parameters
Name Type
id Guid

List (PagingSettings) Method

List (Nucleus.Abstractions.Models.Paging.PagingSettings)
List all Models.SiteGroups for the specified site.

Save (SiteGroup) Method

Save (SiteGroup siteGroup)
Create or update the specified Models.SiteGroup.
Parameters
Name Type
siteGroup Nucleus.Abstractions.Models.SiteGroup

Delete (SiteGroup) Method

Delete (SiteGroup siteGroup)
Delete the specified Models.SiteGroup from the database.
Parameters
Name Type
siteGroup Nucleus.Abstractions.Models.SiteGroup