test
This commit is contained in:
@@ -40,9 +40,9 @@ public class ServerController : Controller
|
||||
}
|
||||
|
||||
// POST: Server/AddServer
|
||||
[HttpPost("CreateServer")]
|
||||
[HttpPost("AddServer")]
|
||||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> CreateServer(AddServerViewModel vm)
|
||||
public async Task<IActionResult> AddServer(AddServerViewModel vm)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
return View(vm);
|
||||
|
Reference in New Issue
Block a user