I have a shared view in my _Layout.cshtml for my header named \"_Header.cshtml\".
I would like to display text and image from the database, so I need my controller t
Create an action in one of your controllers to render the header view, then simply call @Html.RenderAction("Header") within the _Layout.cshtml.
You can also pass a model into the RenderAction method if required.