This article should help:
HTML “optgroup” support in DropDownList – ASP.NET MVC 5.2 | .NET Rumbles[
^]
TL;DR ... start with the basics:
@Html.DropDownList("cProductionLines")
Now, if that is working fine, you can add your attributes:
@Html.DropDownList("cProductionLines", null, new { @class = "form-control", @id = "cProductionLines" })