API
Controller.View
Creates a ViewResult with a model.
Formal Syntax & Structure
csharp syntaxcsharp
return View(model);Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.return View(model);Creates a ViewResult with a model.
return View(model);// Documentary fragment; see linked lesson for context.return View(model);