Here Mudassar Ahmed Khan has explained with an example, how to use ContentResult in ASP.Net MVC Razor. ContentResult return type is used for returning Content i.e. String, XML string, etc from Controller to View in ASP.Net MVC Razor.
↧