RemoveMenuItemIngredient Method

TriCodeTest

MenuCreationController..::..RemoveMenuItemIngredient Method

Remove the mapping of an ingredient to a menu item and return true when it succeeds.

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

Syntax


[HttpPostAttribute]
public Task<ActionResult> RemoveMenuItemIngredient(
	int itemId,
	int ingredientId
)

Parameters

itemId
Type: Int32
Menuitem Id
ingredientId
Type: Int32
Ingredient Id

Return Value

true or false depending if successful