Beispiel #1
0
 public void Update(Location location)
 {
     _ctx.Entry(location).State = EntityState.Modified;
 }
Beispiel #2
0
 public void Add(Location location)
 {
     _ctx.Locations.Add(location);
 }