예제 #1
0
 // It inserts a new ingredient
 public void InsertIngredient()
 {
     IngredientCAD ing = new IngredientCAD();
     ing.InsertIngredient(this);
 }
예제 #2
0
 // Modify the description of an ingredient
 public void ModifyDescription(string description)
 {
     IngredientCAD ing = new IngredientCAD();
     ing.ModifyDescription(this, description);
 }
예제 #3
0
 // Deletes the ingredient that is passed by parameter
 public void DeleteIngredient()
 {
     IngredientCAD ing = new IngredientCAD();
     ing.DeleteIngredient(this);
 }