Class VocabularyController
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Inheritance
System.Object
VocabularyController
Implements
Namespace: DotNetNuke.Entities.Content.Taxonomy
Assembly: DotNetNuke.dll
Syntax
public class VocabularyController : object, IVocabularyController
Constructors
| Improve this Doc View SourceVocabularyController()
Initializes a new instance of the VocabularyController class.
Declaration
public VocabularyController()
See Also
| Improve this Doc View SourceVocabularyController(IDataService)
Initializes a new instance of the VocabularyController class.
Declaration
public VocabularyController(IDataService dataService)
Parameters
Type | Name | Description |
---|---|---|
IDataService | dataService |
See Also
Methods
| Improve this Doc View SourceAddVocabulary(Vocabulary)
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Declaration
public int AddVocabulary(Vocabulary vocabulary)
Parameters
Type | Name | Description |
---|---|---|
Vocabulary | vocabulary |
Returns
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourceClearVocabularyCache()
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Declaration
public void ClearVocabularyCache()
See Also
| Improve this Doc View SourceDeleteVocabulary(Vocabulary)
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Declaration
public void DeleteVocabulary(Vocabulary vocabulary)
Parameters
Type | Name | Description |
---|---|---|
Vocabulary | vocabulary |
See Also
| Improve this Doc View SourceGetVocabularies()
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Declaration
public IQueryable<Vocabulary> GetVocabularies()
Returns
Type | Description |
---|---|
IQueryable<Vocabulary> |
See Also
| Improve this Doc View SourceUpdateVocabulary(Vocabulary)
VocabularyController provides the business layer of Vocabulary and VocabularyType.
Declaration
public void UpdateVocabulary(Vocabulary vocabulary)
Parameters
Type | Name | Description |
---|---|---|
Vocabulary | vocabulary |