예제 #1
0
        public BoardDTO CreateBoard(BoardDTO board)
        {
            var result = db_.CreateBoard(board);

            if (result != null)
            {
                return(result);
            }
            else
            {
                throw new Exception("Someting vent rong");
            }
        }