Exemple #1
0
        public Room CreateRoom(RoomParameters roomParams)
        {
            return(Operation(() =>
            {
                CheckIsUserAuthenticated();

                var room = serverManager.CreateRoom(LoggedUser, roomParams);

                NotifyUsersOfRoomChange(room, RoomUpdate.Created);

                return room;
            }));
        }