public void ChangeModel(TerminalStatusDto newModel) { _terminalStatusDto = newModel; // Raise all properties changed RaisePropertyChanged(null); }
public TerminalViewModel(TerminalStatusDto terminalStatusDto) { UpdateTerminalStatus(terminalStatusDto); }
public void UpdateTerminalStatus(TerminalStatusDto newTerminalStatusDto) { ChangeModel(newTerminalStatusDto); }