title: bind menu and submenu from database in asp net core entity framework mvc
body: <p>I have 2 tables in database Industry and Category. They are joined using IndustryId as primary key and Foreign key in tables.Now I want to show Industry as my main menu item and Related categories as my sub menu items of respective industries. I am using asp net mvc enity framework as my coding architecture with visual studio 2017.This is my first application on this architecture I want a brief explanation including models views and controllers step by step.I have done this binding earlier on asp net web forms without mvc. But entity frameworks is seems to be totally different from previous versions.</p>