Adding a Blazor WASM app

This commit is contained in:
2026-03-22 01:10:14 +01:00
parent ce04cd8d77
commit c86c989cb5
81 changed files with 87512 additions and 2 deletions
@@ -0,0 +1,20 @@
using CityInfo.WEB.Models;
using CityInfo.WEB.Services;
using Microsoft.AspNetCore.Components;
namespace CityInfo.WEB.Pages
{
public partial class PointsOfInterestOverview
{
[Inject]
public IPointOfInterestDataService PointOfInterestDataService { get; set; }
[Parameter]
public int CityId { get; set; }
public IEnumerable<PointOfInterest> PointsOfInterest { get; set; }
protected override async Task OnInitializedAsync()
{
PointsOfInterest = await PointOfInterestDataService.GetPointsOfInterest(CityId);
}
}
}