diff --git a/Watcher/Controllers/ServerController.cs b/Watcher/Controllers/ServerController.cs index 666b510..8a5e183 100644 --- a/Watcher/Controllers/ServerController.cs +++ b/Watcher/Controllers/ServerController.cs @@ -36,7 +36,7 @@ public class ServerController : Controller return View(); } - [HttpPost("AddServer")] + [HttpPost("AddServerP")] public async Task AddServer(AddServerViewModel vm) { if (!ModelState.IsValid) diff --git a/Watcher/Views/Server/AddServer.cshtml b/Watcher/Views/Server/AddServer.cshtml index 5ef860f..123a56e 100644 --- a/Watcher/Views/Server/AddServer.cshtml +++ b/Watcher/Views/Server/AddServer.cshtml @@ -9,7 +9,7 @@ Neuen Server hinzufügen -
+