public void Refresh() { if (GetGamesCommand.CanExecute(this)) { GetGamesCommand.Execute(this); } }
public GamesViewModel(IGamesService service) { GetGamesCommand = new GetGamesCommand(service); SaveGamesCommand = new SaveGamesCommand(service); }