Beispiel #1
0
        public async Task <ActionResult <Ingredient> > PostIngredients(Ingredient ingredients)
        {
            await _ingredient.PostIngredients(ingredients);

            return(CreatedAtAction("GetIngredients", new { id = ingredients.Id }, ingredients));
        }