public void AddState() { State state = new State(); StateViewModel vm = new StateViewModel(state); States.Add(vm); _stateData.states.Add(state); }
public void RemoveState(StateViewModel state) { States.Remove(state); _stateData.states.Remove(state.Model); }