add css class based on model value razor

77

add css class based on model value razor -

<div class="details @(@Model.Details.Count > 0 ? "show" : "hide")">

Comments

Submit
0 Comments