Gets a list of categories.

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

Syntax

C#
public virtual List<BlogCategoryDTO> GetBlogCategories(
	string blogSlug,
	int pageNumber,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetBlogCategories ( 
	blogSlug As String,
	pageNumber As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As List(Of BlogCategoryDTO)
Visual C++
public:
virtual List<BlogCategoryDTO^>^ GetBlogCategories(
	String^ blogSlug, 
	int pageNumber, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetBlogCategories : 
        blogSlug : string * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> List<BlogCategoryDTO> 
override GetBlogCategories : 
        blogSlug : string * 
        pageNumber : int * 
        pageSize : int * 
        recordCount : int byref -> List<BlogCategoryDTO> 

Parameters

blogSlug
Type: System..::..String
Blog slug - if empty all categories are fetched, if not only categories for a particular blog are fetched.
pageNumber
Type: System..::..Int32
Page number.
pageSize
Type: System..::..Int32
Page size.
recordCount
Type: System..::..Int32%
The count of fetched records.

Return Value

Type: List<(Of <(<'BlogCategoryDTO>)>)>
List of category data transfer objects.

Implements

IBlogBLL..::..GetBlogCategories(String, Int32, Int32, Int32%)

See Also