public async Task <Domain.External.EventType> Read(string id)
        {
            var filter = new MarketFilter()
            {
                EventTypeIds = new HashSet <string>()
                {
                    id
                }
            };
            var parameters = new BetfairRequestParameters()
            {
                Filter = filter
            };

            IList <EventTypeResult> results = await _requestInvoker.Invoke <IList <EventTypeResult> >(BetfairMethod.ListEventTypes, parameters);

            var eventTypes = _mapper.Map <IEnumerable <Domain.External.EventType> >(results);

            return(eventTypes.FirstOrDefault());
        }
        public async Task <Domain.External.Competition> Read(string id)
        {
            var filter = new MarketFilter()
            {
                CompetitionIds = new HashSet <string>()
                {
                    id
                }
            };
            var parameters = new BetfairRequestParameters()
            {
                Filter = filter
            };

            IList <CompetitionResult> results = await _requestInvoker.Invoke <IList <CompetitionResult> >(BetfairMethod.ListCompetitions, parameters);

            var competitions = _mapper.Map <IEnumerable <Domain.External.Competition> >(results);

            return(competitions.FirstOrDefault());
        }
        public async Task <IEnumerable <TEntity> > Read(BetfairRequestParameters requestParameters)
        {
            IList <TBetfairDto> results = await _requestInvoker.Invoke <IList <TBetfairDto> >(_method, requestParameters);

            return(_mapper.Map <IEnumerable <TEntity> >(results));
        }