public void UpdateCity(string description, string stationImageUrl, string bikeImageUrl, int cityId) { using (var scope = new TransactionScope()) { City city = _repository.Load<City>(cityId); city.Description = description; city.StationImageUrl = stationImageUrl; city.BikeImageUrl = bikeImageUrl; scope.Complete(); } }