コード例 #1
0
        private List <CustomerOrderInfoModel> GetCustomerOrderListModel(int[] orderIds)
        {
            try
            {
                var list = _customerOrderService.PrintByCustomerOrderIds(orderIds);

                var listModel = new List <CustomerOrderInfoModel>();

                list.ForEach(p => listModel.Add(DecorateCustomerOrderInfo(p)));

                return(listModel);
            }
            catch (Exception ex)
            {
                Log.Exception(ex);
                return(null);
            }
        }