© 2026 Hedgehog Software, LLC
.then(function (response) { if (response.ok) { success.innerHTML = "SUCCESS"; setTimeout(function() { location.reload(); }, 1000); } else if(response.status === 404){ message.innerHTML = "*User not found*"; } else{ message.innerHTML = "*Server error*"; } })
return new JsonResult(StatusCode(404));