public void Start()
        {
            Console.WriteLine("App is running\n");
            var fileDataReader               = new BackEnd.FileDataReader("\\BackEnd\\Activities\\listOfExercises.json");
            var listOfAvailableExercises     = fileDataReader.ReadJsonData();
            var listMenuOfAvailableExercises = new MenuExercises(listOfAvailableExercises);

            new GymManager.MenuManager(listOfAvailableExercises).Run(listMenuOfAvailableExercises);
        }
Exemple #2
0
 public void Run(MenuExercises availableExercises)
 {
     menuExercises = availableExercises;
     PrintGreet();
     ChooseMenu(menuStart);
 }