<span class="btn btn-@(item.Value == 1 ? "primary" : item.Value == 2 ? "warning" : "danger")">EVALUATE</span>
Briefly, we can say that
@(condition ? "the value, if the condition is true" : "the value, if the condition is false" )
<span class="btn btn-@(item.Value == 1 ? "primary" : item.Value == 2 ? "warning" : "danger")">EVALUATE</span>
Briefly, we can say that
@(condition ? "the value, if the condition is true" : "the value, if the condition is false" )