Si
This commit is contained in:
parent
ad375bb979
commit
f17ba0050a
@ -22,6 +22,16 @@ namespace OD.WebApplication.Controllers
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Upload()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public async Task<IActionResult> UploadCSV()
|
||||
{
|
||||
return Ok();
|
||||
}
|
||||
|
||||
public IActionResult Privacy()
|
||||
{
|
||||
|
@ -4,4 +4,11 @@
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="Views\Home\Upload.cshtml">
|
||||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
18
OD.WebApplication/Views/Home/Upload.cshtml
Normal file
18
OD.WebApplication/Views/Home/Upload.cshtml
Normal file
@ -0,0 +1,18 @@
|
||||
@using Microsoft.AspNetCore.Mvc.Rendering
|
||||
@{
|
||||
ViewData["Title"] = "Upload page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h4>Escoge el CSV a parsear</h4>
|
||||
<br/>
|
||||
@using (Html.BeginForm("UploadCSV", "Home", FormMethod.Post, new {id = "loginForm"}))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<div class="form-group">
|
||||
Do your magic pablo
|
||||
</div>
|
||||
<input class="btn btn-outline-primary" type="submit"/>
|
||||
}
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user