Exemplo n.º 1
0
        static void TestGetAlls()
        {
            var list = bl.GetAllIceCreams();

            foreach (var item in list)
            {
                Console.WriteLine($"{item.ID} {item.Name} {item.Ratings.Count}");
            }
        }
Exemplo n.º 2
0
        private void InitialiseLists()
        {
            iceCreamList = bL.GetAllIceCreams();

            this.ListViewIceCreams.ItemsSource = iceCreamList;

            currentRating          = new Rating();
            stkpRating.DataContext = currentRating;
        }