public async override Task OnConnectedAsync() { var results = await votingService.GetResultsAsync(); await Clients.Caller.SendAsync("resultsChanged", results); await base.OnConnectedAsync(); }