Example #1
0
 public void AddIngredient(Ingredient ingredient, Quantity quantity)
     => AddIngredient(new IngredientLine(quantity, ingredient.Id));
Example #2
0
 public IngredientLine(Quantity quantity, IngredientId ingredientId)
 {
     Quantity = quantity;
     IngredientId = ingredientId;
 }