Esempio n. 1
0
        public Trip GetTrip(int tripId)
        {
            Errors.Clear();

            Trip trip = null;

            try
            {
                _logger.Info(string.Format("Start retrieving trip {0}", tripId));
                trip = _persister.GetEntity(tripId);
                _logger.Info(string.Format("End retrieving trip {0}", tripId));
            }
            catch (Exception ex)
            {
                HandleException(ex, _logger);
            }

            return(trip);
        }