@model MovieBase.Models.Movie @{ //ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Search

@using (Ajax.BeginForm("Search", "Search", new AjaxOptions { HttpMethod = "GET", UpdateTargetId = "details" })) {
@Html.LabelFor(model => model.Title, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Title, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Title, "", new { @class = "text-danger" })
}
@{ Html.RenderPartial("Search", Model); }
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }