refabrique : une librairie serveur

This commit is contained in:
Paul Schneider 2018-03-12 23:49:05 +01:00
commit 4df7ef7f4b
25 changed files with 457 additions and 86 deletions

View file

@ -12,7 +12,7 @@
}
</p>
if (!string.IsNullOrEmpty(Model)) {
if (Model!=null) {
<h3>Message received from the resource controller: @Model</h3>
}
@ -22,6 +22,10 @@
<form action="~/Home/PostDeviceInfo" method="post">
<button class="btn btn-lg btn-warning" type="submit">Post device info</button>
</form>
<form action="~/Home/PostFiles/?subdir=test" method="post" enctype="multipart/form-data">
Envoyer vers le dossier &quot;test&quot; <input type="file" name="file" multiple/>
<button class="btn btn-lg btn-warning" type="submit">Post files</button>
</form>
<a class="btn btn-lg btn-danger" href="/signout">Sign out</a>
}