public DashboardViewModel(Window dashboardWindow) { _dashboardWindow = dashboardWindow; _logoutCommand = new DelegateCommand(Logout, CanLogout); _joinLobbyCommand = new DelegateCommand(JoinLobby, CanJoin); _createLobbyCommand = new DelegateCommand(CreateLobby, CanJoin); _openLobbyCommand = new DelegateCommand(OpenLobby, CanJoin); _lobbies = _lobbyProxy.GetLobbies(); }