Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Success
- var resp = new
- {
- Status = "Success",
- SuccessMessage = "OK"
- };
- return Json(resp);
- // Redirect
- var resp = new
- {
- Status = "Redirect",
- RedirectToUrl = Url.Action("Index", "Home")
- };
- return Json(resp);
Add Comment
Please, Sign In to add comment