Пример #1
0
        public IEnumerable <OrderItemDto> OrderItemsOfOrder(int OrderId)
        {
            var orderItems    = _orderItemRepository.FindOrderItemsofOrderId(OrderId);
            var OrderItemsDto = _mapper.Map <IEnumerable <OrderItemDto> >(orderItems);

            return(OrderItemsDto);
        }