コード例 #1
0
        public Event GetEventByID(int eventID)
        {
            // Find a specific event by the given ID
            Event selectedEvent = null;

            try
            {
                selectedEvent = EventAccessor.RetrieveEventByID(eventID);
            }
            catch (Exception)
            {
                throw;
            }

            formatTimeForEvent(selectedEvent);

            return(selectedEvent);
        }