RemoveIngredient Method

TriCodeTest

MenuCreationController..::..RemoveIngredient Method

Remove an ingredient from the database.

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

Syntax


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

Parameters

id
Type: Int32
Ingredient Id

Return Value

True when Ingredient is removed