Get items from listbox in controller MVC ASP 4
问题 I have a page where you can create channels. Channels have genres associated with them. CreateChannel.cshtml <h2>Create Channel</h2> <div class="row-fluid"> <div> @{ using (Html.BeginForm("CreateNewChannel", "Channel", new { channelId = Model.Id, userId = @Session["userId"] }, FormMethod.Post)) { @Html.HiddenFor(model => model.Id) <h5>Name</h5> @Html.TextBoxFor(model => model.Name, new { @class = "input-block-level pull-left", type = "text", required = "required", placeholder = "Channel Name"