C# Class AJH.CMS.Core.Data.PreferenceManager

Mostra file Open project: ajhCMS/AJH.CMS.WEB.UI

Public Methods

Method Description
Add ( Preference preference ) : int
GetPreference ( string preferenceName ) : Preference
GetPreferences ( int portalID ) : List
UpdatePreference ( int prefernceId, bool isEnabled ) : void

Method Details

Add() public static method

public static Add ( Preference preference ) : int
preference AJH.CMS.Core.Entities.Preference
return int

GetPreference() public static method

public static GetPreference ( string preferenceName ) : Preference
preferenceName string
return AJH.CMS.Core.Entities.Preference

GetPreferences() public static method

public static GetPreferences ( int portalID ) : List
portalID int
return List

UpdatePreference() public static method

public static UpdatePreference ( int prefernceId, bool isEnabled ) : void
prefernceId int
isEnabled bool
return void