static void Main(string[] args) { var pancakeHouseMenu = new PancakeHouseMenu(); var dinerMenu = new DinerMenu(); var waitress = new Waitress(pancakeHouseMenu, dinerMenu); waitress.PrintMenu(); // Wait for user Console.ReadKey(); }
public Waitress(PancakeHouseMenu pancakeHouseMenu, DinerMenu dinerMenu) { this._pancakeHouseMenu = pancakeHouseMenu; this._dinerMenu = dinerMenu; }
static void Main(string[] args) { PancakeHouseMenu pancakeHouseMenu = new PancakeHouseMenu(); DinerMenu dinerMenu = new DinerMenu(); Waitress waitress = new Waitress(pancakeHouseMenu, dinerMenu); waitress.PrintMenu(); // Wait for user Console.ReadKey(); }
public Waitress(PancakeHouseMenu pancakeHouseMenu, DinerMenu dinerMenu) { _pancakeHouseMenu = pancakeHouseMenu; _dinerMenu = dinerMenu; }