1.

How Can I Return String Result From Action In Mvc?

Answer»

Below is the code snippet to RETURN string from action method:

public ACTIONRESULT TestAction() {

return Content("HELLO Test !!");

 }

Below is the code snippet to return string from action method:

public ActionResult TestAction() {

return Content("Hello Test !!");

 }



Discussion

No Comment Found