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