Exemplo n.º 1
0
        private ProductCompareListItemModel GenerateMockProductCompareListModel()
        {
            var model = _modelProvider.GetModel <CatalogItemRenderingModel>();

            return(new ProductCompareListItemModel
            {
                CatalogItemRenderingModel = CatalogItemRenderingModelMockData.InitializeMockData(model),
                Height = 999,
                Depth = 999,
                Width = 999,
                IsEdit = true
            });
        }
        private ProductCompareListItemModel GenerateMockProductCompareListModel()
        {
            var model = _modelProvider.GetModel <CatalogItemRenderingModel>();

            return(new ProductCompareListItemModel
            {
                CatalogItemRenderingModel = CatalogItemRenderingModelMockData.InitializeMockData(model),
                Height = 999,
                Depth = 999,
                Width = 999,
                EnergyConsumption = "999Khw",
                EnergyStarRating = "5 Star",
                IceDispenser = true,
                InternalLighting = "LED",
                Volume = 999,
                SellableItemId = "1234",
                IsEdit = true
            });
        }