title: Clean way to return an empty mvc partial view
body: <p>In cshtml file, based on a condition, what's the best way to return an empty partialview ?</p>
  
  <p>Right now I have:</p>
  
  <pre><code>@if(Model.Count() &gt; 0)
  {
    loooonng partial view block of markup code
  }
  </code></pre>
  
  <p>How can I re-do it to look cleaner closer to this:</p>
  
  <pre><code>@if(Model.Count() == 0)
  {
    render an empty partial view
  }
  
    loooonng partial view block of markup code goes here   &lt;- This will obviously get executed only if Model.Count() &gt; 0
  </code></pre>
  
  <p>Thanks in advance !</p>