Ensures that a blog category exists.

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

Syntax

C#
public virtual BlogCategoryEntity EnsureCategoryExists(
	Guid blogId,
	Guid categoryId
)
Visual Basic
Public Overridable Function EnsureCategoryExists ( 
	blogId As Guid,
	categoryId As Guid
) As BlogCategoryEntity
Visual C++
public:
virtual BlogCategoryEntity^ EnsureCategoryExists(
	Guid blogId, 
	Guid categoryId
)
F#
abstract EnsureCategoryExists : 
        blogId : Guid * 
        categoryId : Guid -> BlogCategoryEntity 
override 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.

Implements

IBlogBLL..::..EnsureCategoryExists(Guid, Guid)

See Also