public ProductImagePathBuilder P2ImagePaths() { var product = new ProductsBuilder().P2().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("07379813-D557-4D04-92F0-A1F0CA9EF1E2"), IsActive = true, Path = "~/Images/data/product/800x640/img-produce02-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("F2A2AAE5-5BF7-457E-9B62-42DEBC8A1CA2"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce03-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("761316B9-4CD3-4A6A-8AED-933BCDE6D1ED"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce04-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("58B632D7-D833-44BF-8CBA-F12D12920958"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce05-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("C4EE2C1F-1FF3-4A10-85AE-2232344A0D2D"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce07-800x640.jpg", ProductId = product.Id } }); return this; }
public ProductImagePathBuilder P1ImagePaths() { var product = new ProductsBuilder().P1().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("48FB149D-52A3-4102-98D0-ABBA183C2927"), IsActive = true, Path = "~/Images/data/product/800x640/img-produce01-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("F122761E-5B27-40EA-8410-5ADB323D4129"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce02-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("38B120FF-CA86-409D-B2A6-CE8CB237DDD2"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce03-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("0D7010F3-6D71-43E0-88BD-F749C26A5EF0"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce04-800x640.jpg", ProductId = product.Id }, new ProductImagePath { Id = new Guid("21D4A60E-ECE6-4A9B-92D0-28EFC0F8C06E"), IsActive = false, Path = "~/Images/data/product/800x640/img-produce05-800x640.jpg", ProductId = product.Id } }); return this; }
public RelatedProductsBuilder P3() { var product = new ProductsBuilder().P3().Build().First(); var relatedProducts = _products.Where(p => p.BrandId == product.BrandId && p.Id != product.Id); foreach (var item in relatedProducts) { var relatedProduct = new RelatedProduct { ProductId = product.Id, RelatedProductId = item.Id }; _relatedProducts.Add(relatedProduct); } return this; }
public ProductImagePathBuilder P13ImagePaths() { var product = new ProductsBuilder().P13().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("5302B64C-6A67-40D1-960F-9D1BC97BD7B9"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce14-800x640.jpg" }, new ProductImagePath { Id = new Guid("F83A3C39-AD8B-46E8-B18E-33E29A8EC08A"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce01-800x640.jpg" }, new ProductImagePath { Id = new Guid("604E9A38-7EBE-400D-BF2E-C46DA6DFBCA5"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce02-800x640.jpg" }, new ProductImagePath { Id = new Guid("6E96076C-8A3F-4E69-981A-5C7AA2EB6C29"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce03-800x640.jpg" }, new ProductImagePath { Id = new Guid("7B4B5B59-F543-42B2-83FB-0C490BEA107B"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce04-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P12ImagePaths() { var product = new ProductsBuilder().P12().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("4A6DCC93-A6B8-4AA8-BCD2-CCFF8DDB6264"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce13-800x640.jpg" }, new ProductImagePath { Id = new Guid("D4855174-15E9-4D15-A346-C4062D8B2A08"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce14-800x640.jpg" }, new ProductImagePath { Id = new Guid("9F3AAC20-F2B1-4D82-BABC-D7F1ABC1C783"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce01-800x640.jpg" }, new ProductImagePath { Id = new Guid("3E9CB1A3-EDD3-4119-A59E-215DCF45CE31"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce02-800x640.jpg" }, new ProductImagePath { Id = new Guid("B465EEEF-C7A8-4A92-B9EA-5F5E86ECBEF3"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce03-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P11ImagePaths() { var product = new ProductsBuilder().P11().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("CDA50FF1-DF81-469D-B3CF-0862C8066F75"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce12-800x640.jpg" }, new ProductImagePath { Id = new Guid("05290140-1722-40D5-A09C-3C1AD7539D88"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce13-800x640.jpg" }, new ProductImagePath { Id = new Guid("8C0F1D3C-8F19-4DD0-9340-541EA2AF5250"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce14-800x640.jpg" }, new ProductImagePath { Id = new Guid("B001A5F0-E32B-4630-800E-CB6580EC731B"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce01-800x640.jpg" }, new ProductImagePath { Id = new Guid("A46C909B-B859-4CB3-8088-B5E28569C841"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce02-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P10ImagePaths() { var product = new ProductsBuilder().P10().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("00AD8560-CF7D-4F80-8B0D-3682526622EE"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce11-800x640.jpg" }, new ProductImagePath { Id = new Guid("BF42BB66-79F3-419A-AF55-71437937BFF5"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce12-800x640.jpg" }, new ProductImagePath { Id = new Guid("41343E42-E93C-48E6-A506-1C120B885A58"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce13-800x640.jpg" }, new ProductImagePath { Id = new Guid("E4B7B9A2-AEE2-44C1-BA92-B0DFB4650B57"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce14-800x640.jpg" }, new ProductImagePath { Id = new Guid("0C29ACA6-96CE-46D4-9894-C54E616D1ACC"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce01-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P9ImagePaths() { var product = new ProductsBuilder().P9().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("6C31579E-D02E-4C53-B0AA-BD047C14B768"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce10-800x640.jpg" }, new ProductImagePath { Id = new Guid("B157C313-FE65-4BD0-962E-2BA841AD9181"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce11-800x640.jpg" }, new ProductImagePath { Id = new Guid("107150CE-ED04-4EB9-BFA0-B6FAC199EB49"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce12-800x640.jpg" }, new ProductImagePath { Id = new Guid("A25D0AB4-3F02-41D8-8910-B97C7D5537FF"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce13-800x640.jpg" }, new ProductImagePath { Id = new Guid("D555882D-FFAA-44DF-A40D-5F9DE87B3851"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce14-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P8ImagePaths() { var product = new ProductsBuilder().P8().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("4930D1FC-5943-4068-95D2-DA1CDEB023E6"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce09-800x640.jpg" }, new ProductImagePath { Id = new Guid("282B333B-65D3-4755-A115-D4D691597543"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce10-800x640.jpg" }, new ProductImagePath { Id = new Guid("F4B393D1-BB9D-4E63-867F-D11F49C13CDB"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce11-800x640.jpg" }, new ProductImagePath { Id = new Guid("BC9947CF-9934-4634-A04C-E20D323CB382"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce12-800x640.jpg" }, new ProductImagePath { Id = new Guid("91942B7E-F93C-44F9-81C3-A36BCF0A5125"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce13-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P7ImagePaths() { var product = new ProductsBuilder().P7().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("B7841D34-A445-4BFC-BAF6-01FED6529FE8"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce08-800x640.jpg" }, new ProductImagePath { Id = new Guid("C57162E0-33E6-4166-8F66-58F940CF8C05"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce09-800x640.jpg" }, new ProductImagePath { Id = new Guid("5D67AE29-2BF3-4EF0-AC31-BA2B62A8ED38"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce10-800x640.jpg" }, new ProductImagePath { Id = new Guid("7C3ACEEB-E9AC-4479-B9F4-A33887F1FBF2"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce11-800x640.jpg" }, new ProductImagePath { Id = new Guid("1798F137-1A1B-42BF-8357-F792BA5F4737"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce12-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P6ImagePaths() { var product = new ProductsBuilder().P6().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("2DB42A23-D518-4B65-9CC6-516BA0F28B13"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce07-800x640.jpg" }, new ProductImagePath { Id = new Guid("47E345D5-6F83-4896-AE45-2687AF2B135D"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce08-800x640.jpg" }, new ProductImagePath { Id = new Guid("562C4014-0186-4F8D-B452-DBE7A4FF4FB0"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce09-800x640.jpg" }, new ProductImagePath { Id = new Guid("1489E428-75CB-4C70-BF14-B7DE92573A5D"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce10-800x640.jpg" }, new ProductImagePath { Id = new Guid("38D97105-164B-44DB-96D9-A8F674624FC5"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce11-800x640.jpg" }, }); return this; }
public ProductImagePathBuilder P5ImagePaths() { var product = new ProductsBuilder().P5().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("64F678B2-9DE7-4088-9199-E4232CB7ACAE"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce05-800x640.jpg" }, new ProductImagePath { Id = new Guid("D3CF6CA0-4437-4506-9527-E6CB885501C1"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce07-800x640.jpg" }, new ProductImagePath { Id = new Guid("CCD6C5E1-12F9-47CB-8093-8820DD4A8008"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce08-800x640.jpg" }, new ProductImagePath { Id = new Guid("3D430B83-1D33-42B4-BB40-F1E152924D1E"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce09-800x640.jpg" }, new ProductImagePath { Id = new Guid("73F651F4-647E-4A02-A611-31D6B9AF2204"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce10-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P4ImagePaths() { var product = new ProductsBuilder().P4().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("0F2287AB-ECE4-4CFC-B600-B30E9BBF5C36"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce04-800x640.jpg" }, new ProductImagePath { Id = new Guid("21F4E944-8AAA-4013-BF27-9B0EAC2C1A2D"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce05-800x640.jpg" }, new ProductImagePath { Id = new Guid("F5E0A93F-5220-479F-977F-1D9ED246F1EE"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce07-800x640.jpg" }, new ProductImagePath { Id = new Guid("67CB46B4-29E7-4DA2-8ED9-7F3A226C324C"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce08-800x640.jpg" }, new ProductImagePath { Id = new Guid("8305278E-A55F-4AE4-AC06-08FFC9ADEF9A"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce09-800x640.jpg" } }); return this; }
public ProductImagePathBuilder P3ImagePaths() { var product = new ProductsBuilder().P3().Build().First(); _productImagePaths.AddRange(new List<ProductImagePath> { new ProductImagePath { Id = new Guid("88BCF072-E6E1-478D-8C74-E3CE3243573E"), ProductId = product.Id, IsActive = true, Path = "~/Images/data/product/800x640/img-produce03-800x640.jpg" }, new ProductImagePath { Id = new Guid("E564CCFD-1A07-457F-92B9-9C203D1F3E4D"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce04-800x640.jpg" }, new ProductImagePath { Id = new Guid("C9EF25B8-3531-4A12-A48D-23C074E199D7"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce05-800x640.jpg" }, new ProductImagePath { Id = new Guid("3538042F-8AC7-487B-BA6D-CDC2FDA7E4BC"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce07-800x640.jpg" }, new ProductImagePath { Id = new Guid("B8BCAF21-77FF-41EF-BE92-E8F710FAC938"), ProductId = product.Id, IsActive = false, Path = "~/Images/data/product/800x640/img-produce08-800x640.jpg" } }); return this; }