Guest User

Untitled

a guest
May 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. // Success
  2. var resp = new
  3. {
  4. Status = "Success",
  5. SuccessMessage = "OK"
  6. };
  7. return Json(resp);
  8.  
  9. // Redirect
  10. var resp = new
  11. {
  12. Status = "Redirect",
  13. RedirectToUrl = Url.Action("Index", "Home")
  14. };
  15. return Json(resp);
Add Comment
Please, Sign In to add comment