Beispiel #1
0
        public void ReloadData()
        {
            IsLoading = true;
            _listData = null;

            _modelTrain.GetListSubjectAsync();
        }
        public void ReloadData()
        {
            IsLoading = true;

            _modelTrain.GetListDepartmentAsync();
            _modelTrain.GetListSubjectAsync();
            _modelTrain.GetListClassAsync();
        }
Beispiel #3
0
 private void OnUploadClickCommand()
 {
     try
     {
         CallDialog.Show(this, ViewTypes.UploadSubjectView, c =>
         {
             if (c == MessageBoxResult.OK)
             {
                 _listData = null;
                 _modelTrain.GetListSubjectAsync();
             }
         });
     }
     catch (Exception ex)
     {
         MessageCustomize.Show(ex.Message);
     }
 }