Example #1
0
        public void RenderAllCouches(int choice)
        {
            Console.Clear();
            Constants constants = new Constants();

            constants.HereAreAll();
            using (var context = new TournamentDBContext())
            {
                int count   = 1;
                var coaches = context.Couch.ToList();
                coaches = OrderBy(coaches, choice);

                Pagination pagination = new Pagination();
                pagination.CouchToPage(coaches, 0);
            }
        }