public static List <IItem> Create(int orderNumber) { DataTable dt = POSQL.RetrieveItemById(orderNumber); List <IItem> lstItemLookup = Repackage(dt); return(lstItemLookup); }
public static Item Create(int itemId) { DataTable tmpTable = POSQL.RetrieveItemById(itemId); return(Repackage(tmpTable.Rows[0])); }