Hello,
I have Extended IdentityUser Class= ApplicationUsers (StaffID,StaffName,SchoolID).
SchoolClass(SchoolID,SchoolName,Address,......etc),
EmployeeClass(EmpID,EmpName,Designation,.....etc),
StudentClass(StudentID,Name,DOB,Gender,........etc),
Now,When a school login, its will only show that school "Employee" or"Student" or anything else. For that I need to store Login Session Details (With Extended IdentityUser Class). So when logged school try to add,edit,delete any employee or student or anything else it gets the schoolID from current logged in school or session. And That session or current loggedin userdetail values will pass between Controllers as well as Actions for different use. How to do that In ASP.NET CORE 3.1 MVC ?