예제 #1
0
        private void btnGetTraineeBySchool_Click(object sender, RoutedEventArgs e)
        {
            var result = bl.returnTraineeBySchool(true);

            foreach (var group in result)
            {
                MessageBox.Show((group.Key).ToString());
                foreach (var itemInGroup in group)
                {
                    MessageBox.Show(itemInGroup.ToString());
                }
            }
        }