public void UpdateGame(IViewGroupGames form, IGameController gameController, IGameRepository gameRepository, Game selectedGame) { _gameController = gameController; _gameRepository = gameRepository; _selectedGame = selectedGame; _form = form; this.Show(); }
public void UpdateGameScore(IUpdateGame newForm, Game game, IViewGroupGames form) { _gameRepository.UpdateGame(game); this.ShowAllGroupGames(form); }
public void ShowAllGroupGames(IViewGroupGames newFrm) { IList <Game> gameList = _gameRepository.GetAllGames(); newFrm.ShowAllGroupGames(this, _gameRepository, gameList); }