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); } }
public void DisplayAllAwards() { var users = _bll.GetAllAwards(); Console.WriteLine("Сохраненные награды:" + Environment.NewLine); foreach (Awards item in users) { Console.WriteLine(string.Format("Название: {0}", item.Title)); } }
public void DisplayAwards() { Console.WriteLine("AWARDS:::"); foreach (Award a in _awardLogic.GetAllAwards()) { Console.WriteLine(a.ID + "\t" + a.Title); } Console.WriteLine(); }