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