static void Main(string[] args) { //Initializes Each of the other classes EntityProcessor onlyRunOneCSVProcessor = new EntityProcessor(upPath(3,Environment.CurrentDirectory) + "\\datafiles\\WineList.csv"); BeverageCollection theWineCollection = new BeverageCollection(onlyRunOneCSVProcessor); controlClass controlTheProgram = new controlClass(theWineCollection, onlyRunOneCSVProcessor); //repeats the ui while(true) { controlTheProgram.PrintPrompt(); } }
public controlClass() { processDataBase = new EntityProcessor(); }