News

@Html.EditorForModel(new { htmlAttributes = new { @class = "form-control" } }) When you use EditorForModel and pass the htmlAttributes they'll be applied to all input and select controls in model. I ...