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() }); }