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