Using Razorpage I have a 5 Select Boxes populated onPageLoad from SQL queries using C# Lists containing Key and Value
When saving the form I need to get hold of the key and values in these lists again
So to prevent more queries to SQL I would like to store the list (key, value pair) in memory on load so I can access it later using C#
how can I do that?
I am using ASP.NET Core v2 and C#
Thanks
Thomas