public Dish(string name, float price, int time, Quisine quisine, params string[] ingredients) { this.name = name; this.price = price; this.ingredients = ingredients; this.time = time; this.time_cooking = time; this.quisine = quisine; this.quisineName = quisine.GetName(); this.quisine.AddDish(this); }
public string GetQuisineName() { this.quisineName = quisine.GetName(); return(this.quisineName); }
public void SetQuisine(Quisine quisine) { this.quisine = quisine; this.quisineName = quisine.GetName(); }