_Layout.cshtml does not load on all pages

0

I'm doing a small application in Asp.Net MVC 5 with AdminLTE. I've assembled my layout and applied it on every page

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

However, it does not load on all pages

Index:

NewDoctor:

Edit:

What am I doing wrong? Would not it just import the layout on the page?

    
asked by anonymous 08.09.2018 / 16:52

0 answers