RemoveMenuItem Method

TriCodeTest

MenuCreationController..::..RemoveMenuItem Method

Remove a menuitem from the database with a specific id

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

Syntax


[HttpPostAttribute]
public Task<ActionResult> RemoveMenuItem(
	int id
)

Parameters

id
Type: Int32
The id of the Menuitem to remove.

Return Value

Returns true when removal succeeds!