RouteChanges
This commit is contained in:
@@ -36,7 +36,7 @@ public class ServerController : Controller
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpPost("AddServer")]
|
||||
[HttpPost("AddServerP")]
|
||||
public async Task<IActionResult> AddServer(AddServerViewModel vm)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<i class="bi bi-plus-circle me-2"></i>Neuen Server hinzufügen
|
||||
</h1>
|
||||
|
||||
<form asp-action="AddServer" method="post" novalidate>
|
||||
<form asp-action="AddServerP" method="post" novalidate>
|
||||
<div class="mb-3">
|
||||
<label asp-for="Name" class="form-label"><i class="bi bi-terminal me-1"></i>Servername</label>
|
||||
<input asp-for="Name" class="form-control" placeholder="z.B. Webserver-01" />
|
||||
|
Reference in New Issue
Block a user