Exemple #1
0
        public void DisplayAwardUsers()
        {
            Console.WriteLine("Please insert ID: ");
            string id = Console.ReadLine();

            Console.WriteLine($"Users which have award: {_awardLogic.GetAwardByID(id).Title}");

            foreach (User user in _awardLogic.GetUsers(id))
            {
                Console.WriteLine("USER");
                Console.WriteLine($"ID: " + user.ID);
                Console.WriteLine($"Name: " + user.Name);
            }
            Console.WriteLine();
        }