public ShoppingListController() { sDB = new ShoppingListDB(); gm = new GetMax(); }
/* * Used to retrieve the newest item in the DB * Return: Newest items ID */ public int GetMaxID() { GetMax gm = new GetMax();; return gm.GetMaxId("item"); }
public ShoppingListController() { sDB = new ShoppingListDB(); gm = new GetMax(); }
/* * Used to retrieve the newest item in the DB * Return: Newest items ID */ public int GetMaxID() { GetMax gm = new GetMax();; return gm.GetMaxId("item"); }