Esempio n. 1
0
 /// <summary>
 /// According to the table the user chose to work with in the begining the information is passed to one of the other displays.
 /// </summary>
 /// <remarks>The method updates data.<remarks>
 private static void UpdateEntry()
 {
     Console.Clear();
     if (numberTable == 3)
     {
         townsDisplay.UpdateTown();
     }
     else if (numberTable == 4)
     {
         competitorsDisplay.UpdateCompetitor();
     }
     else if (numberTable == 5)
     {
         coachesDisplay.UpdateCoach();
     }
     else if (numberTable == 6)
     {
         clubsDisplay.UpdateClub();
     }
     Console.WriteLine();
     Console.WriteLine("Press any key to clear the screen..."); Console.ReadKey(); Console.Clear();
 }