title: How to use Partial View Model in ASP.NET MVC
body: <p>I have a controller named <code>DaftarController</code> that calls Index view and fill it with mode.l</p>
  
  <p>DaftarController:</p>
  
  <pre><code>    public ActionResult Index()
      {
          List&lt;EventRecord&gt; li = ws.GetEvents().ToList();
          var ura = li;
          return View(ura);
      }
  </code></pre>
  
  <p>It shows perfectly, but I want partial view inside my Index view.</p>
  
  <pre><code>@Html.Partial("~/Views/Daftar/_Deleted.cshtml");
  </code></pre>
  
  <p>So I add this in my DaftarController:</p>
  
  <pre><code>    public ActionResult _Deleted()
      {
          List&lt;DeletedRecord&gt; li = ws.GetDeleteds().ToList();
          var ura = li;
          return View(ura);
      }
  </code></pre>
  
  <p>But it gives error. I'm still confuse how to show partial view with model in it?</p>