Ejemplo n.º 1
0
        public IEventCollection GetEventsByCustomerId(string custId)
        {
            IEventCollection result = new EventCollection();

            logger.Info("Getting all events for customer id {0}", custId);
            try
            {
                var result = EventDao.GetEventsForCustId(custId);
            }
            catch (Exception e)
            {
                logger.ErrorFormat("Error while fetching result for customer id {0}", custId);
            }
            return(result);
        }