I have Select Box Tag Helper
<select asp-for="DiscountTypeIndex" class="form-control" asp-items="Html.GetEnumSelectList<DiscountType>()" @(@Model.Id>0 ? "disabled" : "")>
</select>
I want if the Model.id is greater than zero , it would be disbaled, but the above code doesn't work