How to pass variable into layout in .NET?
<p>My aplication have walls with notes. I wish to put on layout name of active wall. 
How to do that?
I know that on front-end I can use just @Model... but who sends this model? 
Also better idea is store this information in session variable or create another property in user database?</p>

<p>EDIT: I use .NET Core 1.1.</p>