Esempio n. 1
0
 public void RemoveCity(City city)
 {
     context.Cities.Remove(city);
     context.SaveChanges();
 }
Esempio n. 2
0
 public void AddCity(City city)
 {
     context.Cities.Add(city);
     context.SaveChanges();
 }