public static OrderItemsModel Mapper(OrderItemsEntity oie)
        {
            if (oie != null)
            {
                OrderItemsModel oim = new OrderItemsModel
                {
                    Id       = oie.Id,
                    Quantity = oie.Quantity,
                    Seller   = UserMapper.Mapper(oie.Seller),
                    Sku      = SkuMapper.Mapper(oie.Sku),
                    Order    = OrderMapper.Mapper(oie.Order)
                };

                return(oim);
            }
            return(null);
        }
        public static List <OrderItemsModel> Mapper(List <OrderItemsEntity> oieList)
        {
            if (oieList != null)
            {
                List <OrderItemsModel> oimList = new List <OrderItemsModel>();
                foreach (var oie in oieList)
                {
                    OrderItemsModel oim = new OrderItemsModel
                    {
                        Id       = oie.Id,
                        Quantity = oie.Quantity,
                        Seller   = UserMapper.Mapper(oie.Seller),
                        Sku      = SkuMapper.Mapper(oie.Sku),
                        Order    = OrderMapper.Mapper(oie.Order)
                    };

                    oimList.Add(oim);
                }
                ;

                return(oimList);
            }
            return(null);
        }