title: #Render partial with a model in Layout View
body: <p>I have a MVC project where I want to render my menu using Model.</p>
  
  <p>I declare the menu contents at the <code>Session_Start</code> event in Global.asax.cs and using break point i knew that it is filling out correctly.</p>
  
  <p>I cannot simply use <code>@Html.Partial("_Menu")</code> inside my <code>_Layout.cshtml</code></p>
  
  <p>And if I do <code>@Html.Partial("_Menu", Model.Something)</code>, I get a </p>
  
  <blockquote>
    <p>Object reference not set to an instance of an object</p>
  </blockquote>
  
  <p>error on the Model.</p>