Question: the question as below: Open the sample application with the Home and Product controllers. Add a common header to all views. The header should say
the question as below:
Open the sample application with the Home and Product controllers.
Add a common header to all views. The header should say Welcome to XYZ Store. I dont mind how it is formatted as long as I see the text in all your views, the assignment is successful.
this is the home controller and product controller:


but l am really confused where to put the all common header to all views and below is the rest questions snapshot

the question ask to add as below
Add a common footer to all views. The footer should say Copyright of XYZ Store. If there is an existing footer, replace it with this wording.
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.
and this is the rest of the snipshot


the most important part is the layout but where to add the common headder and the footer as below


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
