GetIngredients Method

TriCodeTest

MenuCreationController..::..GetIngredients Method

Retrieves a list of Ingredient objects from the database and returns that list to the caller.

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

Syntax


[HttpGetAttribute]
public ActionResult GetIngredients()

Return Value

List of Ingredient objects