Exemplo n.º 1
0
        public void CloseRoom()
        {
            roomState = false;
            ChatRoom.ClearRoom();
            var joined  = ChatRoom.GetJoined();
            var serList = JsonConvert.SerializeObject(joined);

            Clients.All.RoomState(false);
            Clients.All.left(serList);
        }