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); }
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); }