public productdb chooseProduct(int id) { PurchaseCtrl p = new PurchaseCtrl(); productdb d = p.chooseProduct(id); return(d); }