protected override async Task OnInitializedAsync() { GameTable = await GameTableRepository.GetById(Id); }
protected override async Task OnInitializedAsync() { var gameTableId = Parameters.Get <string>("GameTableId"); GameTable = await GameTableRepository.GetById(int.Parse(gameTableId)); }