コード例 #1
0
 private void OnSaveClickCommand()
 {
     try
     {
         if (!_modelTrain.IsBusy)
         {
             if (_listData != null)
             {
                 IsLoading = true;
                 _modelTrain.ImportSubjectAsync(_listMonHoc, _listData);
             }
             else
             {
                 MessageCustomize.Show("Chọn file import");
             }
         }
     }
     catch (Exception ex)
     {
         MessageCustomize.Show(ex.Message);
     }
 }