public void Add(Person item) { if (!db.PersonExist(item)) { db.AddPerson(item); } PersonList = db.GetAllPersons(); }
public People() { db = new DbDatabase(); PersonList = db.GetAllPersons(); }