Hi I have a layout.cshmtl and in that i have a code for showing logo

this works fine but now i am creating another layout2 page and i give another index2 view and set its layout to layout2.cshtml
but with using the same code 

it shows 404 and on console it is taking the image as
http://localhost:57789/Home/Images/Pakeeza.png
on first page where it is working it did not take the Home link in url what is the issue
even this is also not working
5 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mark TaborPosted Apr 17, 2019, 12:34 AM
Faisal PathanPosted Apr 16, 2019, 1:22 PM
Mark TaborPosted Apr 16, 2019, 1:18 PM
Jignesh KumarPosted Apr 16, 2019, 1:11 PM
Faisal PathanPosted Apr 16, 2019, 1:08 PM