What's difference between:
@Html.LabelFor(model => model.Soluongton, htmlAttributes: new { @class = "control-label col-md-2" })
and
@Html.LabelFor(model => model.Soluongton, new { htmlAttributes = new { @class = "control-label col-md-2" } })
and what's htmlAttributes?
new { htmlAttributes = new { @class = "control-label col-md-2" } }=> this is only used inEditorFor.LabelForuses the first one.