Versie module 1 van 26-7

This commit is contained in:
2026-07-26 22:18:52 +02:00
commit 26a820b41a
39 changed files with 3663 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
const ProductService =
require("../services/ProductService");
class ProductController {
index(req,res) {
const products =
ProductService.getProducts();
res.render(
"products/index",
{
title:"Producten",
products
}
);
}
}
module.exports =
new ProductController();