意見
@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>
}
コントローラ
[HttpPost]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(IEnumerable<album> album)
{
}
出来ますか?データベースに複数の値をより速く簡単に作成したいと考えています。