public void ReturnToBaseMenu() { var projectMenu = new ProjectMenu(); int userSelection = projectMenu.DisplayProjectMenu(); var projectMenuLogicHolder = new ProjectMenuLogicHandler(context); projectMenuLogicHolder.HandlerProjectMenuCommand(userSelection); }
public void InvokeActionBaseOnUserSelection(int option) { if (option == this.projectSubMenuSelection) { var selectedOptionFromProjectMenu = projectMenu.DisplayProjectMenu(); var projectHandler = new ProjectMenuLogicHandler(context); projectHandler.HandlerProjectMenuCommand(selectedOptionFromProjectMenu); } }