Beispiel #1
0
        private void HubSendMatchDetails(HubSender hubSender, Matches match)
        {
            MatchDetails matchDetails = new MatchDetailsController(_dystirDBContext).Get(match.MatchID);

            matchDetails.Match = match;
            hubSender.SendMatchDetails(_hubContext, matchDetails);
        }
        private void HubSendMatchDetails(Matches match)
        {
            HubSender    hubSender    = new HubSender();
            MatchDetails matchDetails = new MatchDetailsController(db).Get(match.MatchId);

            hubSender.SendMatchDetails(_hubContext, matchDetails);
            HubFullMatchedData(matchDetails);
        }