Exemplo n.º 1
0
        public void AddState()
        {
            State          state = new State();
            StateViewModel vm    = new StateViewModel(state);

            States.Add(vm);
            _stateData.states.Add(state);
        }
Exemplo n.º 2
0
 public void RemoveState(StateViewModel state)
 {
     States.Remove(state);
     _stateData.states.Remove(state.Model);
 }