Bentopher
Bentopher
CC#
Created by Bentopher on 2/10/2025 in #help
Dynamic header in _Layout
It's a tricky one for sure
9 replies
CC#
Created by Bentopher on 2/10/2025 in #help
Dynamic header in _Layout
I guess this might be the way to do it
9 replies
CC#
Created by Bentopher on 2/10/2025 in #help
Dynamic header in _Layout
So you think I should put my model in the ViewData and then cast it in the view when I want to use it. And I guess just have a check to see if there is a value in the ViewData before doing anything because it won't always be there in my case.
9 replies