CategoryExists Method

TriCodeTest

MenuCreationController..::..CategoryExists Method

Check if a category exists in the database.

Namespace:  TriCodeTest.Controllers
Assembly:  TriCodeTest (in TriCodeTest.dll)

Syntax


private bool CategoryExists(
	int id
)

Parameters

id
Type: Int32
Category Id

Return Value

The context of the category.