The next example passes in a word to the sub-template, so that can change what it does based on the variable.
For the Razor14
we will use the parameters on DynamicModel
(see code below)
The same Example for RazorPro
(new v16). The called template will get the parameters on MyModel
(see code below)
-
-