public Controller() { InitializeController(); // instantiate a Salesperson object _salesperson = new Salesperson(); // instantiate a ConsoleView object _consoleView = new ConsoleView(_salesperson); // begins running the application UI ManageApplicationLoop(); }
/// <summary> /// default constructor to create the console view objects /// </summary> public ConsoleView(Salesperson salesperson) { _salesperson = salesperson; InitializeConsole(); }