I have this form that gives me two data "active and deactivated, how to make them change depending on, with the class
class"label label-success y label-danger'
<tbody>
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.PKOBJETO)
</td>
<td>
@Html.DisplayFor(modelItem => item.ESTATUS)
</td>
}
</tbody>