I want to post a file to a controller/action in my Sitecore project via a "file" input tag.
<input value="choose file" type="file" id="bulk-upload">
I see examples, similar to below, online using forms. Is there a better/other way to do this?
@using (Html.BeginForm ("file", "upload", FormMethod.Post, new { enctype = "multipart/form-data" }))