static Receipt testReinstantiateReceipt(long RID) { ReceiptService rs = new ReceiptService(); Receipt r = rs.getUsingID(RID); return(r); }
static void testModifyRewriteReceipt(long RID) { ReceiptService rs = new ReceiptService(); Receipt r = rs.getUsingID(10); Console.WriteLine(r); r.setNote("This purchase is for a purchase!"); Console.WriteLine("\nAfter change: \n" + r); rs.update(r); }