public MainViewModel() { GenerateValuesCommand = new RelayCommand(() => GenerateValuesExecute(), () => true); CalculateSumCommand = new RelayCommand(() => CalculateSumExecute(), () => true); service = new MockService(); Section1Model = service.GenerateModel(); }
public void GenerateValuesExecute() { Section1Model = service.GenerateModel(); }