public HotaService(ILogger <HotaService> hotaServiceLogger, ILogger <HotaLobby> hotaLobbyLogger, ILogger <HotaLobbyServer> hotaLobbyServerLogger, IOptions <HotaConfiguration> hotaConfiguration) { this.HotaServiceLogger = hotaServiceLogger; var hotaLobby = new HotaLobby(hotaLobbyLogger); this.HotaLobbyServer = new HotaLobbyServer(hotaLobbyServerLogger, hotaLobby, hotaConfiguration.Value); }
public PlayersController(HotaService hotaService) { this.HotaLobby = hotaService.HotaLobbyServer; }