ASP.NET MVC6 dynamic navigation on a page
<p>I am developing an application with ASP.NET Core (MVC 6) where administrator can specify what the top level navigation would look like. For the sake of simplicity, let's say that he owns a bakery and wants his top level navigation to look like this:</p>

<ol>
<li>Home </li>
<li><p>Cakes</p>

<p>a) Diary-free</p>

<p>b) Chocolate</p>

<p>c) Fruity</p></li>
<li>Sweets </li>
<li><p>Cookies</p>

<p>a) Chocolate-chip</p>

<p>b) Raw</p>

<p>c) Vegan</p></li>
</ol>

<p>Once he has decided what the navigation would look like (as shown above) he will save it and these will be stored in the database.</p>

<p>Now, when anyone visits this website, the program needs to retrieve the 'layout' from the database and based on the returned values needs to build the top level navigation for the user.</p>

<p>As I am still a newbie in ASP.NET, the question that arises is - Would this be a good approach? The problem I foresee with this would be, that none of these webpages would actually exist (there would be no <strong>/Cakes/diary-free.html</strong> webpage as this only exists in the database) and therefore how would the navigation work like? </p>

<p>Any help or suggestion in this matter would be more than appreciated.</p>