public void SendNotification(string userId, Notification notification) { this.hubContext.Clients.Group(userId).Notification(notification); }
public void SendNotification(long gameId, Guid teamId, Notification notification) { this.hubContext.Clients.Group(NotificationHub.GameTeamGroup(gameId, teamId)).Notification(notification); }