Add detail game page (#41)
All checks were successful
Game Ideas deploy / build-test-deploy (push) Successful in 1m24s

Reviewed-on: #41
This commit was merged in pull request #41.
This commit is contained in:
2025-05-04 15:27:06 +02:00
parent f3c9e1d9da
commit d9d036896d
37 changed files with 1174 additions and 224 deletions

View File

@@ -0,0 +1,19 @@
using GameIdeas.BlazorApp.Pages.Games.Gateways;
using GameIdeas.Shared.Dto;
using Microsoft.AspNetCore.Components;
namespace GameIdeas.BlazorApp.Pages.Detail;
public partial class GameDetail
{
[Inject] private IGameGateway GameGateway { get; set; } = default!;
[Parameter] public int GameId { get; set; }
private GameDetailDto Game = new();
protected override async Task OnInitializedAsync()
{
Game = await GameGateway.GetGameById(GameId);
await base.OnInitializedAsync();
}
}