Ejemplo n.º 1
0
        // method to delete person from list
        public void DeletePerson(int id)
        {
            var db = new DB();

            // deletes person from database

            try
            {
                db.DeletePersonFromDB(id);
            }
            catch (System.Exception)
            {
                throw;
            }
        }