// Adds a new user to the DB public void AddLocation(string name, string address) { var newLocation = new TblLocation { Name = name, Address = address }; _db.Add(newLocation); }
public void Edit(TblLocation locale) { _db.Update(locale); }