コード例 #1
0
 def getOrderByID(self, order_id):
     return Order(self.orderRepository.getOrderByID(order_id))
コード例 #2
0
 def getOrdersByCustomer(self, customer_id):
     return [ Order(orderInfo) for orderInfo in self.orderRepository.getOrdersByCustomer(customer_id) ]