コード例 #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         DtgStudents.ItemsSource = _bll.GetAll();
     }
     catch (Exception exception)
     {
         MessageBox.Show($"Could not get the students. {exception.Message}");
     }
 }
コード例 #2
0
ファイル: StudentController.cs プロジェクト: mahdiQ/Trello2
        public ActionResult Index()
        {
            var StudentsList = _StudentBLL.GetAll();

            return(View(StudentsList));
        }