Question: This question was answered for the second part but l am not able to understand how to the view to the page as the question

This question was answered for the second part but l am not able to understand how to the view to the page as the question is add view as belw not a RAZOR:

In the same MVC application, make the following changes

Add a folder under Views called as Other

Create a new view called as Details under View/Other folder. This can be done by right-clicking on the View/Home folder and choosing Add-View. (See screenshot above)

Call this view from HomeController Index Method.

Load the URL /Home. It should now display the Details View.

Finally check into Github and submit commit id.

This question was answered for the second part but l am not

able to understand how to the view to the page as the

question is add view as belw not a RAZOR: In the same

the add view is requre as below:

MVC application, make the following changes Add a folder under Views called

so how to add it and call the views that l am not able to undersand it and l need big clarfication

Layout.CShtrti ViewBag . Title = "Details", Layout "/Views/Home/Other/Details.cshtml"; 4

Details

7 8 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!