public async Task <IReadOnlyCollection <BetViewModel> > Get(int matchId) { await this.OnConnected(); _mapping.AddOrUpdate(this.Context.ConnectionId, matchId); return(await Task.FromResult(this._sportsRepository.GetBets(matchId))); }
public async Task <IReadOnlyCollection <BetViewModel> > Get(int matchId) { await this.OnConnected(); _mapping.AddOrUpdate(this.Context.ConnectionId, matchId); return(await Task.FromResult(this._sportsRepository.GetBets(matchId))); }