RemoveCategory Method

TriCodeTest

MenuCreationController..::..RemoveCategory Method

Removes a Category specified by its Id.

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

Syntax


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

Parameters

id
Type: Int32
Id of the category which is to be removed

Return Value

True once category has been removed.