GetMenuItem Method

TriCodeTest

MenuCreationController..::..GetMenuItem Method

Retrieve a menu item from the database with a specific id

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

Syntax


[HttpGetAttribute]
public Task<ActionResult> GetMenuItem(
	int id
)

Parameters

id
Type: Int32
Menu item id to retrieve

Return Value

Menuitem object