Processing a Ticket Order
Now that we have created our order processing classes, it's time to make use of them. To understand the next few development steps, let's look more closely at what happens when a user clicks on a button to order tickets for a show.
The browser sends a request to the Caché server to run a method named AddShow.
AddShow creates or updates the necessary TicketOrder and TicketItem objects on the server.
An updated copy of the Order page is displayed, so that the user can see confirmation of his or her order and, if necessary, modify it.
Let's begin by creating the AddShow method.