public async Task EndSessionAsync(string sessionId, string hostCode) { if (!await _sessionProvider.CheckSessionForHostAsync(sessionId, hostCode, default)) { return; } await _sessionProvider.EndSessionAsync(sessionId, hostCode, default); await Clients.Group(sessionId).SendAsync("EndSession", sessionId); }