View
@model IEnumerable<MyMixtapezServerCodeHomePage.Models.album>
@for(int i=0;i<userchoiceIndex;i++)
{
<div class="editor-label">
@Html.LabelFor(model => model.artist)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.artist)
@Html.ValidationMessageFor(model => model.artist)
</div>
}
Controller
[HttpPost]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(IEnumerable<album> album)
{
}
Is it possible? I want to create a multiple values to database in a faster and easy way.
Thanks for all answers, this informations did get to a single point that worked for me.
Controller