public CommandExecutor(TicketCatalog ticketCatalog) { this.ticketCatalog = ticketCatalog; }
public TicketCatalogEngine(TicketCatalog ticketCatalog, IUserInterface userInterface) { this.ticketCatalog = ticketCatalog; this.userInterface = userInterface; this.commandExecutor = new CommandExecutor(this.ticketCatalog); }