Ejemplo n.º 1
0
        /// <summary>
        /// Returns a list of Cab data.
        /// </summary>
        /// <param name="theEvent">Event for which the event info is required.</param>
        /// <returns>Collection of event infos.</returns>
        public AtomCabCollection GetCabs(AtomEvent theEvent)
        {
            AtomCabCollection cabs = new AtomCabCollection();

            return(m_TestDatabase.GetCabs(theEvent.ProductId, theEvent.FileId, theEvent.Event.Id));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns a list of event infos for the specified event.
        /// </summary>
        /// <param name="theEvent">Event for which the event info is required.</param>
        /// <param name="days">Number of days of events to get - max is 90.</param>
        /// <returns>Collection of event infos.</returns>
        public AtomEventInfoCollection GetEventDetails(AtomEvent theEvent, int days)
        {
            AtomEventInfoCollection eventInfos = new AtomEventInfoCollection();

            return(m_TestDatabase.GetEventInfos(theEvent.ProductId, theEvent.FileId, theEvent.Event.Id));
        }