hi sir,
i want to know why this code is written in mvc in asp.net
<div class="col-md-2">
<label>Duration in Min</label>
@Html.TextBoxFor(m => m.DurationInMinutes, new { id = "txtduration", @class = "form-control txtOnlyNumber", maxlength = "30" })
</div>
@Html.TextBoxFor(m => m.DurationInMinutes, why this is used