In my ajax call, I want to return a string value back to the calling page.
Should I use ActionResult or just return a string?
In my ajax call, I want to return a string value back to the calling page.
Should I use ActionResult or just return a string?
You can just use the ContentResult to return a plain string.