Exemplo n.º 1
0
        public ISet <string> FetchCompetitionIds(MarketFilter filter)
        {
            ISet <string> ids;

            try
            {
                ids = _trackedCompsReader.ReadIds(filter);
            }
            catch (Exception e)
            {
                EventLog.WriteEntry("OddsFetchingTriggerer", "Error reading tracked comp ids: " + e.Message);
                ids = new HashSet <string>();
            }
            return(ids);
        }
Exemplo n.º 2
0
        public ISet <string> FetchTrackedEventIds(MarketFilter filter)
        {
            ISet <string> trackedEventIds;

            try
            {
                trackedEventIds = _trackedEventsReader.ReadIds(filter);
            }
            catch (Exception e)
            {
                EventLog.WriteEntry("OddsFetchingTriggerer", "Error reading tracked event ids " + e.Message);
                throw;
            }
            return(trackedEventIds);
        }