Exemple #1
0
        public void DisplayAllAwards()
        {
            var users = _bll.GetAllAwards();

            foreach (Awards item in users)
            {
                Console.WriteLine(string.Format("Название: {0}",
                                                item.Title));
            }
        }
        void ActionViewAwards()
        {
            Console.Clear();
            Console.WriteLine("Users in database:");
            var awards = BLL.GetAllAwards();

            foreach (var item in awards)
            {
                PrintAwardData(item);
            }
        }
Exemple #3
0
        public void DisplayAllAwards()
        {
            var users = _bll.GetAllAwards();

            Console.WriteLine("Сохраненные награды:" + Environment.NewLine);

            foreach (Awards item in users)
            {
                Console.WriteLine(string.Format("Название: {0}",
                                                item.Title));
            }
        }
Exemple #4
0
 public void DisplayAwards()
 {
     Console.WriteLine("AWARDS:::");
     foreach (Award a in _awardLogic.GetAllAwards())
     {
         Console.WriteLine(a.ID + "\t" + a.Title);
     }
     Console.WriteLine();
 }