Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
Take a look at the ContactBlockController in the Alloy templates, it creates a view model for the ContactBlock type.
You could also take a look right here: https://github.com/episerver/AlloyDemoKit/blob/master/src/AlloyDemoKit/Controllers/ContactBlockController.cs
I would like to add a list of objects to my Blocks view model, but I can't use my knowledge of making page view models to make block view models. How would I go about his?