I have the following code behind for a Razor Page... I cannot seem to figure out how to show the data on the html page?
I've gone in circles and would appreciate any help.
I've tried all kinds of things but on the page i was trying the following among other things... with no luck.
@foreach (var item in Restaurants)
{
<div>@item.Id</div>
}