public void MyAction() { foreach (var datum in _model.GetDataSet()) { DataSet.Add(datum); } }
public ViewModelAll() { _canExecute = true; _model = new ModelClass(); var getdata = _model.GetDataSet(); DataList = getdata; }
private void MyReload() { var getdata = _model.GetDataSet(); DataList = getdata; }