public RecordingsController() { _playedGamesGetter = new PlayedGamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _bkaDataGetter = new BkaDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString, new BkaDataParser()); _gameRecordingAdder = new GameRecordingAdder(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _gamesGetter = new GamesGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _gameRecordingsGetter = new GameRecordingsGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _gameRecordingRemover = new GameRecordingRemover(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _playerAdminChecker = new PlayerAdminChecker(); _karmaAdder = new KarmaAdder(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _gameRecordingKarmaChecker = new GameRecordingKarmaChecker(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _gameRecordingKarmaAdder = new GameRecordingKarma(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _playerIdAdapter = new PlayerIdAdapter(); _serverAdminCommandSender = new ServerAdminCommandSender(); }
public KarmaController() { _playerAdminChecker = new PlayerAdminChecker(); _karmaGetter = new KarmaGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _bkaDataGetter = new BkaDataGetter(ConfigurationManager.ConnectionStrings["Data"].ConnectionString, new BkaDataParser()); }
public AdminController() { _playerAdminChecker = new PlayerAdminChecker(); }