public static Person PersonDetails(int id) { db = new Database(); db.Connect(); Person PersonDetails = PersonTable.SelectPersonDetails(id, db); db.Close(); return(PersonDetails); }