title: Html.DisplayFor(modelItem => item.Status) - Passing it to a switch statement
body: <p>I'm pretty new to MVC, but I have the following code:</p>
  
  <pre><code>    &lt;td&gt;
          @Html.DisplayFor(modelItem =&gt; item.Status)
          @switch (item.Status)
          {
              case 0: Html.DisplayText("Requested");
                  break;
              case 1: Html.DisplayText("In Progress");
                  break;
              case 2: Html.DisplayText("Declined");
                  break;
              default:
                  Html.DisplayText("Undefined");
                  break;
          }
      &lt;/td&gt;
  </code></pre>
  
  <p>It renders the "Html.DisplayFor" fine, this is an integer. But really I want to display the equivalent text based on the item.Status in that same position. But this is not working. I could change the way the original class handles the status in the Get and Set methods but how would I do it this way?</p>