예제 #1
0
 public Recipe(int id, string name, List <Ingredient> ingredients, NutritionalValue nutritionalValue)
 {
     Id               = id;
     Name             = name;
     Ingredients      = ingredients;
     NutritionalValue = nutritionalValue;
 }
예제 #2
0
 public Recipe(string name, List <Ingredient> ingredients, NutritionalValue nutritionalValue)
 {
     Name             = name;
     Ingredients      = ingredients;
     NutritionalValue = nutritionalValue;
 }