import BookmarklistUtils from '../../../../../components/user-reports/bookmarks/utils.js';

class BookmarkListingController {
    layoutPath;
    services;
    constructor(layoutPath, services) {
        this.layoutPath = layoutPath;
        this.services = services;
    }
    GET = async (_req, res, _next) => {
        res.render(`dpr/routes/journeys/my-reports/view`, {
            title: 'Bookmarks',
            layoutPath: this.layoutPath,
            id: 'dpr-bookmarks-list',
            ...(await BookmarklistUtils.renderBookmarkList({ services: this.services, res })),
        });
    };
}

export { BookmarkListingController, BookmarkListingController as default };
//# sourceMappingURL=controller.js.map
