Dec 16, 2019 08:47 PM|bsashcraft|LINK
Let me ask the question a different way.
Suppose you have my two Classes (USSTATE and CITY).
A STATE has a one to many relationship with CITY. One STATE has many CITIES.
The end result is that you want your Razor web page to display something like this (you want to display all rows in the CITY table, with its associated STATE).
You are writing this code in the OnGet() Handler of your Index.cshtml file.
How would you write your OnGet() handler?
Thanks! I sincerely appreciate your time.