示例#1
0
        public void SeeAllBadges()
        {
            Console.Clear();
            //var pair = new Dictionary<int, List<string>>();
            Dictionary <int, List <string> > Contents = _insuranceRepo.GetContents();

            Console.WriteLine("BadgeID\t      Door Access\t");
            foreach (var pair in Contents)
            {
                Console.WriteLine($"{pair.Key}\t      " + $"{pair.Value}\t");
            }
            Console.WriteLine("\n Press any key to continue...");
            Console.ReadKey();
        }