Good practices Asp.net Core MVC: Create a DropDown for a current record to be used globally throughout the system

0

I'm having a question: I'm creating a back-end system in asp.net core mvc and in my _Layout.cshtml I need to create and load a dropdown listing all the system's BRANCHES so that the user can select the branch he wants to manage. This selected branch should be pulled on all screens of the system ... An example of this would be the ACCOUNTS TO PAY ... When a record is posted, the branch field will automatically be populated as the base in the branch that is currently selected. In Desktop applications this is common and very easy to do, but in webapp I'm falling headfirst now and catching a lot ... In theory, how would I do that? Would anyone have an example?

    
asked by anonymous 01.06.2018 / 01:54

0 answers