Simon Smith

Simon Smith

  • NA
  • 16
  • 1.1k

User account Branch selection

Nov 15 2018 9:30 PM
Good Day.
 
I have a MVC5 project using identity 2. I created a table named branch which stores 5 branch locations. The goal is to have the user select the branch he wants to log into, this will then be tagged to all their transactions. Once logged in the user will only be able to see transaction(theirs and others) corresponding to the branch he selected after initial authentication.
 
Could you point me to the right the resources that could be of benefit for this. Thanks
 
What I have tried:
 
I have extended the account model to include a foreign key for a table called branch lookup this will then provide a many to many relationship to the table branches

Answers (3)