예제 #1
0
        public IActionResult Add(Board board)
        {
            var boardService = new BoardService();
            int result       = boardService.Add(board);

            return(Json(new
            {
                code = 0,
                message = "OK"
            }));
        }