Update 02.BookOrders.cs

Extracted a method to make the code more manageable.