I use Jquery to make an Ajax request. The server returns Json object with value "true or false" like this:
return Json(new { success = false, JsonRe
location.reload();
You can use the reload function in your if condition for success and the page will reload after the condition is successful.
reload
if