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()); }
public override Task OnConnected() { NotificationSports notificationSports = new NotificationSports(); Clients.Caller.returnFullTableSports(notificationSports.GetTableSports()); return(base.OnConnected()); }