Creates a ViewResult object that renders the specified IView object.
view : IView,
model : Object
) : ViewResult
The view that is rendered to the response.
The model that is rendered by the view.
The result object that is prepared by this method is written to the response by the ASP.NET MVC framework when the object is executed.