Good evening I have an .NET Core MVC C# application that involves data stored for a child (ApplicationUser and a User Table - Role= "Child"). Parents/Guardians can create a profile (ApplicationUser and Parent Table). They can only see their children data.
What's the best way to "store" the current child ID they are viewing until they "switch" some way to another child ? Do you guys use cookies ? TempData? Viewbags ? Maybe a clean example I can look at ?
What's your strategy to store their first Child ID and take them to a default View for that child?
Thank you !