Ejemplo n.º 1
0
        // method to add a person
        public void AddPerson(string name, string phone, string birthday, int counter)
        {
            var db = new DB();

            // updates person on db
            try
            {
                db.AddPersonOnDB(name, phone, birthday, counter);
            }
            catch (System.Exception)
            {
                throw;
            }
        }