Exemple #1
0
        /// <summary>
        /// Method driver for sorting the data records by the name passed
        /// </summary>
        public static void SortByName()
        {
            Console.WriteLine("Enter the name of City by which you want to sort the data alphabetically by name -");
            string city = Console.ReadLine();

            repository.SortDetailsAlphabeticallyByCity(city, 1);
        }