protected override async Task OnInitializedAsync() { var response = await AwsJsInterop.GraphQlAsync <CompetitionList>(Queries.LIST_COMPETITIONS); CompetitionList = response.ListCompetitions.Items; LiveScoreService.Start(CompetitionList); }
public LiveScoreController(LiveScoreService liveScoreService) { _liveScoreService = liveScoreService; }