OD.WebApplication/OD.WebApplication/Views/Home/Index.cshtml

17 lines
527 B
Plaintext

@using Microsoft.AspNetCore.Mvc.Rendering
@model HomeViewModel
@{
ViewData["Title"] = "Upload page";
}
<div class="text-center">
@using (Html.BeginForm("UploadCSV", "Home", FormMethod.Post, new {id = "loginForm", enctype = "multipart/form-data"}))
{
@Html.AntiForgeryToken()
<label asp-for="@Model.FileAttach">Escoge el CSV a convertir</label><br/>
<input asp-for="@Model.FileAttach" type="file">
<br/>
<input class="btn btn-outline-primary" type="submit"/>
}
</div>