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