public IEnumerable <Trip> GetValidTrips(DateTime validityDate) { Errors.Clear(); IEnumerable <Trip> list = new List <Trip>(); try { _logger.Info(string.Format("Start retrieving valid trip after {0}", validityDate)); list = _persister.GetValidTrips(validityDate); _logger.Info(string.Format("End retrieving valid trip after {0}", validityDate)); } catch (Exception ex) { HandleException(ex, _logger); } return(list); }