title: If condition in @Html.DisplayFor
body: <p>I am trying to display different messages based on data from statusid table. Let say for example if my statusid is 1120 then i would like to display "PASS" but i am struggling with the correct syntax.</p>
  
  <p>If statusid=1120 then "PASS". </p>
  
  <p>Here is my code for displaying statusid: </p>
  
  <pre><code>@Html.DisplayFor(modelItem =&gt; item.statusid)
  </code></pre>
  
  <p>Any idea?</p>