public List <RoomEvent> GetEventsForRoom(string roomID) { // return a list of rooms associated with an event List <RoomEvent> events = null; try { events = EventAccessor.RetrieveEventsByRoomID(roomID); } catch (Exception) { throw; } // get the total cost calculated here. It is not stored. foreach (RoomEvent re in events) { re.TotalPrice = re.TicketsReserved * re.IndividualPrice; } return(events); }