@model MvcMovie.Models.Movie @{ ViewBag.Title = "Create"; }

Create

@using (Html.BeginForm()) { @Html.ValidationSummary(true)
Movie
@Html.LabelFor(model => model.Title)
@Html.EditorFor(model => model.Title) @Html.ValidationMessageFor(model => model.Title)
@Html.LabelFor(model => model.ReleaseDate)
@Html.EditorFor(model => model.ReleaseDate) @Html.ValidationMessageFor(model => model.ReleaseDate)
@Html.LabelFor(model => model.Genre)
@Html.EditorFor(model => model.Genre) @Html.ValidationMessageFor(model => model.Genre)
@Html.LabelFor(model => model.Price)
@Html.EditorFor(model => model.Price) @Html.ValidationMessageFor(model => model.Price)
@Html.LabelFor(model => model.Rating)
@Html.EditorFor(model => model.Rating) @Html.ValidationMessageFor(model => model.Rating)

}
@Html.ActionLink("Back to List", "Index")