I have configured the connection to the database for the "Events" table
Which generates me the fields in the model, and in the Image field transforms it to type "byte"
public byte[] Imagen { get; set; }
In the view I have the "Image" field configured in this way
<div class="form-group">
@Html.LabelFor(model => model.Imagen, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Imagen, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Imagen, "", new { @class = "text-danger" })
</div>
</div>
How should I configure the field in the "View" so that when the image is attached and when I execute the "Create" method, the image is registered in SQL?