@{
    ViewData["Title"] = "Home Page";
}

<form asp-action="Upload" asp-controller="File" method="post" enctype="multipart/form-data">
    <input type="file" name="file1" multiple /><br />
    <input type="file" name="file2" /><br />
    <input type="submit" name="btn-upload" value="提交" />
</form>