added RaidDetails.razor + needed services

This commit is contained in:
t.ruspekhofer 2022-02-24 23:29:31 +01:00
parent 6da9b06e8a
commit b18cc58665
15 changed files with 597 additions and 18 deletions

View file

@ -0,0 +1,22 @@
@page "/raidoverview"
@using Lieb.Data
@inject RaidService RaidService
<h3>RaidOverview</h3>
@foreach (var raid in raids) {
<p>wupwup</p>
<RaidDetails Raid=@raid />
}
@code {
private List<Models.GuildWars2.Raid.Raid> raids;
protected override async Task OnInitializedAsync()
{
raids = RaidService.GetRaids();
}
}