From
To
@if (hasLessThanValue) { }
@if (hasTimeError) { }