If I have an integer value that I want to display on a page, I can do that a number of ways:
<span>@Html.DisplayFor(modelItem => item.UserId)</span>
<span>@item.UserId</span>
But what is the best way to convert that to displaying the value IF UserId != 0. But if UserId == 0, display an empty string. Is there a way to do it right in Razor syntax or do I need to head to code?