public void Update(Location location) { _ctx.Entry(location).State = EntityState.Modified; }
public void Add(Location location) { _ctx.Locations.Add(location); }