예제 #1
0
        private void UpdateMessageBoardVisibility(Guid messageBoardID, bool isVisible)
        {
            MessageBoardDA mDA          = new MessageBoardDA();
            MessageBoard   messageBoard = mDA.GetByID(messageBoardID);

            if (messageBoard.IsVisible != isVisible)
            {
                messageBoard.IsVisible = isVisible;
                mDA.Update(messageBoard);
            }
        }