public async Task AddIngredientToRecipe([FromBody] Ingredient ingredient) { await recipesRepository.AddIngredientForRecipe(ingredient.RecipeId, ingredient.Name, ingredient.Amount, ingredient.Unit); }
public async Task AddIngredientToRecipe([FromBody] Ingredient ingredient) { await recipesRepository.AddIngredientForRecipe(ingredient.RecipeId, ingredient.Name, ingredient.Amount, ingredient.Unit); }