leen emad
asked on
ASP.NET MVC identity
In my project, Admin adds instructor and then instructors add students. I added models for students and instructors. When a user login , he should be redirected according to its model . Is it the same as role-based authentication?
ASKER
When a student loges in , how does it know who is his instructor? should I use a foreign key? or just because this instructor added those students they became associated to him?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both
now when user loges in, check for the role and based on role, redirect to concern page!
Hope this will helps you :)