@page "/browse/{State}"
@using TSC2.Components.CSharp;
@State
@results
@code {
[Parameter]
public string State { get; set; } = "MI";
private string results = "No results found.";
private List> filterResults = new();
protected override Task OnInitializedAsync()
{
filterResults = DatabaseManager.FilterByState(State);
if (filterResults.Count == 0)
return Task.FromResult(0);
this.results = "Results:\n";
return Task.FromResult(0);
/*foreach (Tuple current in results)
{
}*/
}
}