TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
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
Reply
Answers (
3
)
Regarding Mapping
Pass Model data from view to controller using ajax