Ensures that a blog category exists.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
BlogCategoryEntity EnsureCategoryExists(
	Guid blogId,
	Guid categoryId
)
Visual Basic
Function EnsureCategoryExists ( 
	blogId As Guid,
	categoryId As Guid
) As BlogCategoryEntity
Visual C++
BlogCategoryEntity^ EnsureCategoryExists(
	Guid blogId, 
	Guid categoryId
)
F#
abstract EnsureCategoryExists : 
        blogId : Guid * 
        categoryId : Guid -> BlogCategoryEntity 

Parameters

blogId
Type: System..::..Guid
Blog Id
categoryId
Type: System..::..Guid
Category Id

Return Value

Type: BlogCategoryEntity
Blog category retrieved by its primary id.

See Also