public CartItemThumbnailViewModel(CartItem cartItem) : base(cartItem)
 {
     ItemVariant      = new ItemVariantViewModel(cartItem.ItemVariant);
     Item             = new ItemViewModel(cartItem.ItemVariant.Item);
     Number           = cartItem.Number;
     Store            = new StoreViewModel(cartItem.ItemVariant.Item.Store);
     ItemVariantImage = new ItemVariantImageViewModel(cartItem.ItemVariant.Images.FirstOrDefault());
 }
 public OrderThumbnailViewModel(Order order) : base(order)
 {
     ItemVariant = new ItemVariantViewModel(order.ItemVariant);
     Store       = new StoreViewModel(order.ItemVariant.Item.Store);
 }