You can do it using a partial view and a call to `@{Html.RenderAction("Action", "Controller")}` from the shared Layout view. If your action returns a `PartialView()` instead of a `View()`, you can pass a model created in the controller's action method to the partial.