title: Pass multiple objects to view through controller
body: <p>I am developing an asp.net mvc web app in which I want to send 2 objects to View through Controller now I am sending only one object to view through controller</p>
  
  <pre><code>return View(repository.func(id));
  </code></pre>
  
  <p>and in view I am getting</p>
  
  <pre><code>&lt;% var data = Model.First %&gt;
  </code></pre>
  
  <p>But now I am confused how to send 2 objects and how to get it. </p>