 <p>View</p> <pre><code>@using (Html.BeginForm("Save", "Doctor", FormMethod.Post)) { &lt;p&gt; @Html.LabelFor(model =&gt; model.Foo): @Html.EditorFor(model =&gt; model.Foo) @Html.ValidationMessageFor(model =&gt; model.Foo) &lt;/p&gt; &lt;p&gt; @Html.LabelFor(model =&gt; model.barImage) &lt;input type="file" name="Image" /&gt; &lt;/p&gt; &lt;p&gt; &lt;input type="submit" value="Save" /&gt; &lt;/p&gt; } </code></pre> <p>Controller </p> <pre><code>[HttpPost] public ActionResult Create(Doctor doc) { your_dbcontext db = new your_dbcontext(); db.Add&lt;Doctor&gt;(doc); db.SaveChanges(); return RedirectToAction("Index"); } </code></pre>