Beispiel #1
0
        // 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);
        }
Beispiel #2
0
 public void Edit(TblLocation locale)
 {
     _db.Update(locale);
 }