Categories

1 Answer

Aug 18, 2019
In MVC there are 12 results. Among them ActionResult class is a base class for all action results. The 11 sub classes are given bellow:

ViewResult– renders a view as a web page to the response stream

PartialViewResult– renders a view inside another view

EmptyResult– returns a empty or null result

RedirectResult– redirect to another action method (HTTP redirection)

RedirectToRouteResult– redirect to another action method (HTTP redirection) that is determined by the routing engine, based on a given route

JsonResult– returns a JSON object form a ViewData

JavaScriptResult– returns a script code that can be executed on the client

ContentResult– returns a user-defined content type

FileContentResult– returns a file to the client

FileStreamResult– returns a file to the client, which is supplied by a Stream

FilePathResult– returns a file to the client
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Aug 18, 2019 in MVC Language
Aug 18, 2019 in MVC Language
Aug 18, 2019 in MVC Language
...