Example #1
0
 public void Refresh()
 {
     if (GetStateCommand.CanExecute(this))
     {
         GetStateCommand.Execute(this);
     }
 }
Example #2
0
 public StateViewModel(IStateService service)
 {
     GetStateCommand  = new GetStateCommand(service);
     SaveStateCommand = new SaveStateCommand(service);
 }