mirror of
https://github.com/farcasclaudiu/MartianRobots.git
synced 2026-06-22 07:01:15 +03:00
preserve the count on the page
This commit is contained in:
@@ -51,6 +51,7 @@ else {
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
list = await Http.GetFromJsonAsync<RobotSolutionModel[]>("MartianRobots");
|
||||
lostRobots = await Http.GetFromJsonAsync<int>("MartianRobots\\LostRobots");
|
||||
}
|
||||
|
||||
private async Task Solve()
|
||||
|
||||
@@ -37,7 +37,6 @@ app.UseBlazorFrameworkFiles();
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseRouting();
|
||||
app.UseHttpsRedirection();
|
||||
|
||||
app.MapRazorPages();
|
||||
app.MapControllers();
|
||||
|
||||
Reference in New Issue
Block a user