InterviewSolution
Saved Bookmarks
| 1. |
How to return the JSON from action method in ASP.Net MVC? |
|
Answer» Below is the code snippet to return string from action method : public ActionResult TestAction() {return JSON(new { prop1 = "Test1", prop2 = "Test2" });}
|
|