Beispiel #1
0
 public void AddCity(Default.Container container, City city)
 {
     if (container.Cities.Where(c => c.CityName == city.CityName && c.CountryID == city.CountryID).Count() != 0)
     {
         return;
     }
     container.AddToCities(city);
     var serviceResponse = container.SaveChanges();
 }