public void UpdateTrip(Trip trip) { Errors.Clear(); if (!CheckModel(trip, NullTripErrorMessage, NullTripLogErrorMessage, _logger)) { return; } try { _logger.Info(string.Format("Start updating trip {0} ", trip.Id)); var updated = _persister.Update(trip); _logger.Info(string.Format("End updating trip {0} ", trip.Id)); if (!updated) { SetErrorAndLog(UpdateFail, _logger); } } catch (Exception ex) { HandleException(ex, _logger); } }