Image value was null when posted to controller
<p>in controller image comes null i tried this code but it did not work</p>

<pre><code>function bindForm(dialog) {

$("form", dialog).submit(function () {
    var formdata = new FormData($('form').get(0));
    $.ajax({
        url: "/Books/Create",
        type: "POST",
        dataType: "JSON",
        data: formData,
        contentType: false,
        processData: false,
        success: function (result) {
            if (result.success) {
                $("#myModal").modal("hide");
                location.reload();
            } else {
                $("#myModalContent").html(result);
                bindForm();
            }
        }
    });
    return false;
});
}
</code></pre>