Beispiel #1
0
        public override Task OnConnected()
        {
            NotificationSports notificationSports = new NotificationSports();

            Clients.All.returnFullTableSports(notificationSports.GetTableSports());

            NotificationEvents notificationEvents = new NotificationEvents();

            Clients.All.returnSportEv(notificationEvents.GetSportEv());

            NotificationMatches notificationClass = new NotificationMatches();

            Clients.All.returnFullTableMatches(notificationClass.GetTableMatches());

            NotificationBets notificationBets = new NotificationBets();

            Clients.All.returnFullTableBets(notificationBets.GetTableBets());

            NotificationOdds notificationOdds = new NotificationOdds();

            Clients.All.returnFullTableOdds(notificationOdds.GetTableOdds());


            return(base.OnConnected());
        }
Beispiel #2
0
        public override Task OnConnected()
        {
            NotificationOdds notificationOdds = new NotificationOdds();

            Clients.Caller.returnFullTableOdds(notificationOdds.GetTableOdds());


            return(base.OnConnected());
        }