예제 #1
0
        public async Task <CreateBoardOutput> InvokeAsync(CreateBoardInput input, TraceWriter log)
        {
            var board = await _boardManager.CreateAsync(input.BoardId) ?? throw new UserFriendlyException("Cannot create the board.");

            return(new CreateBoardOutput
            {
                Board = board.ToDto()
            });
        }