Si
This commit is contained in:
parent
ad375bb979
commit
f17ba0050a
@ -23,6 +23,16 @@ namespace OD.WebApplication.Controllers
|
|||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IActionResult Upload()
|
||||||
|
{
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<IActionResult> UploadCSV()
|
||||||
|
{
|
||||||
|
return Ok();
|
||||||
|
}
|
||||||
|
|
||||||
public IActionResult Privacy()
|
public IActionResult Privacy()
|
||||||
{
|
{
|
||||||
return View();
|
return View();
|
||||||
|
@ -4,4 +4,11 @@
|
|||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Update="Views\Home\Upload.cshtml">
|
||||||
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
||||||
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</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