Пример #1
0
        public ProductsBuilder P2()
        {
            var brand = new BrandBuilder().Canon().Build().First();
            var category = new CategoryBuilder().P1C2().Build().First();

            _products.Add(new Product
            {
                Id = new Guid("9DBCF8E6-6B90-4422-9883-EB2E355BF237"),
                Name = "Aliquam tincidunt",
                Description =
                    @"Aliquam tincidunt diam varius ultricies auctor. Vivamus faucibus risus tempus, adipiscing justo convallis, tristique justo. Duis posuere lacus tellus, vitae faucibus orci porta ultrices. Praesent gravida massa vel consectetur aliquam. Nunc ullamcorper id purus eu lacinia. Nam diam risus, dictum at turpis ut, ornare ornare ligula. In tellus enim, bibendum sed erat vel, tempus tempor felis.

Proin semper in nibh facilisis mollis. Aenean scelerisque tincidunt enim, eget dapibus tortor bibendum vel. Vivamus vehicula aliquam tristique. Nullam id quam vel lectus ornare malesuada. Integer vel felis vitae justo posuere ullamcorper sed vitae justo. Fusce a congue purus, sit amet sollicitudin libero.

In hac habitasse platea dictumst. Mauris eget lorem sed sapien tincidunt commodo. Maecenas ac neque non odio pellentesque mattis sed suscipit nibh. Aenean mollis nisl sit amet sapien cursus aliquam in non augue. Donec tellus purus, tristique at nulla id, mollis eleifend risus.",
                OldPrice = 0,
                NewPrice = 120.68m,
                Image40x40Path = "~/Images/data/product/40x40/img-produce02-40x40.jpg",
                Image60x65Path = "~/Images/data/product/60x65/img-produce02-60x65.jpg",
                Image65x52Path = "~/Images/data/product/65x52/img-produce02-65x52.jpg",
                Image80x64Path = "~/Images/data/product/80x64/img-produce02-80x64.jpg",
                Image100x100Path = "~/Images/data/product/100x100/img-produce02-100x100.jpg",
                Image240x192Path = "~/Images/data/product/240x192/img-produce02-240x192.jpg",
                Image350x280Path = "~/Images/data/product/350x280/img-produce02-350x280.jpg",
                RatingImagePath = "~/Images/data/rating/stars-1.png",
                CategoryId = category.Id,
                BrandId = brand.Id
            });

            return this;
        }
Пример #2
0
        public ProductsBuilder P3()
        {
            var brand = new BrandBuilder().Hp().Build().First();
            var category = new CategoryBuilder().P2C1().Build().First();

            _products.Add(new Product
                {
                    Id = new Guid("1902513F-B31F-4321-A2B2-5F11ADCA694F"),
                    Name = "Donec tellus purus",
                    Description =
                        @"Donec tellus purus, tristique at nulla id, mollis eleifend risus. Praesent cursus, leo et feugiat iaculis, risus orci venenatis tellus, sit amet iaculis libero ante nec metus. Donec feugiat risus quis justo consectetur sodales. Mauris vitae egestas eros. In eleifend varius imperdiet. Sed non mattis augue, vitae tincidunt augue. Donec ac sollicitudin justo, ut luctus nunc.

Pellentesque a ligula pretium, imperdiet nulla ac, bibendum libero. Pellentesque et ligula ullamcorper, molestie leo vel, commodo arcu. Proin non quam nec orci viverra placerat. Pellentesque ullamcorper varius ullamcorper. In ac consequat massa. In nec neque diam. Integer at enim vulputate augue adipiscing congue id eu orci. Mauris adipiscing volutpat erat nec ultricies.

Praesent porttitor placerat dignissim. Sed commodo justo vel quam condimentum, sit amet pulvinar ipsum pulvinar. Fusce egestas metus enim, congue rhoncus ligula ornare eu. Morbi ullamcorper leo nec tempus molestie. Mauris sagittis tortor nec sollicitudin lobortis. Ut adipiscing eu erat nec faucibus.",
                    OldPrice = 0,
                    NewPrice = 119.50m,
                    Image40x40Path = "~/Images/data/product/40x40/img-produce03-40x40.jpg",
                    Image60x65Path = "~/Images/data/product/60x65/img-produce03-60x65.jpg",
                    Image65x52Path = "~/Images/data/product/65x52/img-produce03-65x52.jpg",
                    Image80x64Path = "~/Images/data/product/80x64/img-produce03-80x64.jpg",
                    Image100x100Path = "~/Images/data/product/100x100/img-produce03-100x100.jpg",
                    Image240x192Path = "~/Images/data/product/240x192/img-produce03-240x192.jpg",
                    Image350x280Path = "~/Images/data/product/350x280/img-produce03-350x280.jpg",
                    RatingImagePath = "~/Images/data/rating/stars-3.png",
                    CategoryId = category.Id,
                    BrandId=brand.Id
                });

            return this;
        }
Пример #3
0
        public ProductsBuilder P1()
        {
            var brand = new BrandBuilder().Apple().Build().First();
            var category = new CategoryBuilder().P1C1().Build().First();
            _products.Add(new Product
            {
                Id = new Guid("9B1263BD-AE59-4897-8BB3-970B214BA67C"),
                Name = "Mollicitudin lobortis",
                Description =
                    @"Pellentesque et ligula ullamcorper, molestie leo vel, commodo arcu. Proin non quam nec orci viverra placerat. Pellentesque ullamcorper varius ullamcorper. In ac consequat massa. In nec neque diam. Integer at enim vulputate augue adipiscing congue id eu orci. Mauris adipiscing volutpat erat nec ultricies.

Praesent porttitor placerat dignissim. Sed commodo justo vel quam condimentum, sit amet pulvinar ipsum pulvinar. Fusce egestas metus enim, congue rhoncus ligula ornare eu. Morbi ullamcorper leo nec tempus molestie. Mauris sagittis tortor nec sollicitudin lobortis.

Ut adipiscing eu erat nec faucibus. Donec ultricies varius mauris ut volutpat. Cras molestie erat eget rutrum posuere. Aliquam consectetur nunc vel nunc blandit, quis sodales tellus fermentum. Donec imperdiet ac nulla vitae convallis.",
                OldPrice = 119.50m,
                NewPrice = 113.63m,
                Gst = 0.15m,
                Image40x40Path = "~/Images/data/product/40x40/img-produce01-40x40.jpg",
                Image60x65Path = "~/Images/data/product/60x65/img-produce01-60x65.jpg",
                Image65x52Path = "~/Images/data/product/65x52/img-produce01-65x52.jpg",
                Image80x64Path = "~/Images/data/product/80x64/img-produce01-80x64.jpg",
                Image100x100Path = "~/Images/data/product/100x100/img-produce01-100x100.jpg",
                Image240x192Path = "~/Images/data/product/240x192/img-produce01-240x192.jpg",
                Image350x280Path = "~/Images/data/product/350x280/img-produce01-350x280.jpg",
                RatingImagePath = "~/Images/data/rating/stars-1.png",
                CategoryId = category.Id,
                BrandId = brand.Id
            });

            return this;
        }
Пример #4
0
        public ProductsBuilder P13()
        {
            var brand = new BrandBuilder().Apple().Build().First();
            var category = new CategoryBuilder().P1C1().Build().First();

            _products.Add(new Product
                {
                    Id = new Guid("C42B550A-04AE-4F4D-8E09-2CE68F98F6E3"),
                    Name = "Posuere lacus",
                    Description =
                        @"Duis posuere lacus tellus, vitae faucibus orci porta ultrices. Praesent gravida massa vel consectetur aliquam. Nunc ullamcorper id purus eu lacinia. Nam diam risus, dictum at turpis ut, ornare ornare ligula. In tellus enim, bibendum sed erat vel, tempus tempor felis. Proin semper in nibh facilisis mollis.

Aenean scelerisque tincidunt enim, eget dapibus tortor bibendum vel. Vivamus vehicula aliquam tristique. Nullam id quam vel lectus ornare malesuada. Integer vel felis vitae justo posuere ullamcorper sed vitae justo. Fusce a congue purus, sit amet sollicitudin libero. In hac habitasse platea dictumst. Mauris eget lorem sed sapien tincidunt commodo.

Maecenas ac neque non odio pellentesque mattis sed suscipit nibh. Aenean mollis nisl sit amet sapien cursus aliquam in non augue. Donec tellus purus, tristique at nulla id, mollis eleifend risus. Praesent cursus, leo et feugiat iaculis, risus orci venenatis tellus, sit amet iaculis libero ante nec metus",
                    OldPrice = 119.50m,
                    NewPrice = 101.88m,
                    Image40x40Path = "~/Images/data/product/40x40/img-produce14-40x40.jpg",
                    Image60x65Path = "~/Images/data/product/60x65/img-produce14-60x65.jpg",
                    Image65x52Path = "~/Images/data/product/65x52/img-produce14-65x52.jpg",
                    Image80x64Path = "~/Images/data/product/80x64/img-produce14-80x64.jpg",
                    Image100x100Path = "~/Images/data/product/100x100/img-produce14-100x100.jpg",
                    Image240x192Path = "~/Images/data/product/240x192/img-produce14-240x192.jpg",
                    Image350x280Path = "~/Images/data/product/350x280/img-produce14-350x280.jpg",
                    RatingImagePath = "~/Images/data/rating/stars-2.png",
                    CategoryId = category.Id,
                    BrandId = brand.Id
                });

            return this;
        }
Пример #5
0
        public ProductsBuilder P11()
        {
            var brand = new BrandBuilder().Palm().Build().First();
            var category = new CategoryBuilder().P5().Build().First();

            _products.Add(new Product
                {
                    Id = new Guid("E452BED1-D575-43BF-B239-96DBCCCCC7F9"),
                    Name = "Sapien euismod",
                    Description =
                        @"Morbi ullamcorper leo nec tempus molestie. Mauris sagittis tortor nec sollicitudin lobortis. Ut adipiscing eu erat nec faucibus. Donec ultricies varius mauris ut volutpat. Cras molestie erat eget rutrum posuere. Aliquam consectetur nunc vel nunc blandit, quis sodales tellus fermentum. Donec imperdiet ac nulla vitae convallis.

Mauris dignissim suscipit enim, vel ornare libero condimentum in. In iaculis tortor non lobortis feugiat. Cras auctor, lectus non mollis mattis, massa libero accumsan turpis, eu pellentesque velit erat sit amet nulla. Cras tellus augue, condimentum quis viverra in, placerat vitae nulla. Fusce vestibulum lacinia quam, sed lobortis orci eleifend tincidunt.

Duis fermentum lobortis sapien a faucibus. Pellentesque ultricies faucibus enim, ac bibendum leo iaculis quis. Pellentesque id suscipit orci, at vulputate sapien. Suspendisse at scelerisque tellus. Morbi cursus sollicitudin quam. Etiam semper lectus eget est egestas, volutpat euismod nisi mattis. Aliquam pretium sapien sed luctus auctor. Curabitur sit amet gravida orci.",
                    OldPrice = 0,
                    NewPrice = 330.99m,
                    Image40x40Path = "~/Images/data/product/40x40/img-produce12-40x40.jpg",
                    Image60x65Path = "~/Images/data/product/60x65/img-produce12-60x65.jpg",
                    Image65x52Path = "~/Images/data/product/65x52/img-produce12-65x52.jpg",
                    Image80x64Path = "~/Images/data/product/80x64/img-produce12-80x64.jpg",
                    Image100x100Path = "~/Images/data/product/100x100/img-produce12-100x100.jpg",
                    Image240x192Path = "~/Images/data/product/240x192/img-produce12-240x192.jpg",
                    Image350x280Path = "~/Images/data/product/350x280/img-produce12-350x280.jpg",
                    RatingImagePath = "~/Images/data/rating/stars-4.png",
                    CategoryId = category.Id,
                    BrandId = brand.Id
                });

            return this;
        }
Пример #6
0
        public ProductsBuilder P7()
        {
            var brand = new BrandBuilder().Apple().Build().First();
            var category = new CategoryBuilder().P3C3().Build().First();

            _products.Add(new Product
                {
                    Id = new Guid("D4A6F7D8-4BC5-4444-A79D-891AD22EA69F"),
                    Name = "Mollis eleifend",
                    Description =
                        @"Proin semper in nibh facilisis mollis. Aenean scelerisque tincidunt enim, eget dapibus tortor bibendum vel. Vivamus vehicula aliquam tristique. Nullam id quam vel lectus ornare malesuada. Integer vel felis vitae justo posuere ullamcorper sed vitae justo.

Fusce a congue purus, sit amet sollicitudin libero. In hac habitasse platea dictumst. Mauris eget lorem sed sapien tincidunt commodo. Maecenas ac neque non odio pellentesque mattis sed suscipit nibh. Aenean mollis nisl sit amet sapien cursus aliquam in non augue. Donec tellus purus, tristique at nulla id, mollis eleifend risus.

Praesent cursus, leo et feugiat iaculis, risus orci venenatis tellus, sit amet iaculis libero ante nec metus. Donec feugiat risus quis justo consectetur sodales. Mauris vitae egestas eros. In eleifend varius imperdiet. Sed non mattis augue, vitae tincidunt augue. Donec ac sollicitudin justo, ut luctus nunc.",
                    OldPrice = 2000.00m,
                    NewPrice = 70.00m,
                    Image40x40Path = "~/Images/data/product/40x40/img-produce08-40x40.jpg",
                    Image60x65Path = "~/Images/data/product/60x65/img-produce08-60x65.jpg",
                    Image65x52Path = "~/Images/data/product/65x52/img-produce08-65x52.jpg",
                    Image80x64Path = "~/Images/data/product/80x64/img-produce08-80x64.jpg",
                    Image100x100Path = "~/Images/data/product/100x100/img-produce08-100x100.jpg",
                    Image240x192Path = "~/Images/data/product/240x192/img-produce08-240x192.jpg",
                    Image350x280Path = "~/Images/data/product/350x280/img-produce08-350x280.jpg",
                    RatingImagePath = "~/Images/data/rating/stars-3.png",
                    CategoryId = category.Id,
                    BrandId = brand.Id
                });

            return this;
        }
Пример #7
0
        public ProductsBuilder P6()
        {
            var brand = new BrandBuilder().Sony().Build().First();
            var category = new CategoryBuilder().P3C2().Build().First();

            _products.Add(new Product
                {
                    Id = new Guid("35DBDA81-8EB6-4276-B7DD-E104B1051406"),
                    Name = "Mattis augue",
                    Description =
                        @"Fusce a congue purus, sit amet sollicitudin libero. In hac habitasse platea dictumst. Mauris eget lorem sed sapien tincidunt commodo. Maecenas ac neque non odio pellentesque mattis sed suscipit nibh. Aenean mollis nisl sit amet sapien cursus aliquam in non augue. Donec tellus purus, tristique at nulla id, mollis eleifend risus. Praesent cursus, leo et feugiat iaculis, risus orci venenatis tellus, sit amet iaculis libero ante nec metus. Donec feugiat risus quis justo consectetur sodales. Mauris vitae egestas eros. In eleifend varius imperdiet. Sed non mattis augue, vitae tincidunt augue. Donec ac sollicitudin justo, ut luctus nunc.

Pellentesque a ligula pretium, imperdiet nulla ac, bibendum libero. Pellentesque et ligula ullamcorper, molestie leo vel, commodo arcu. Proin non quam nec orci viverra placerat. Pellentesque ullamcorper varius ullamcorper. In ac consequat massa. In nec neque diam. Integer at enim vulputate augue adipiscing congue id eu orci. Mauris adipiscing volutpat erat nec ultricies.",
                    OldPrice = 0,
                    NewPrice = 1177.00m,
                    Image40x40Path = "~/Images/data/product/40x40/img-produce07-40x40.jpg",
                    Image60x65Path = "~/Images/data/product/60x65/img-produce07-60x65.jpg",
                    Image65x52Path = "~/Images/data/product/65x52/img-produce07-65x52.jpg",
                    Image80x64Path = "~/Images/data/product/80x64/img-produce07-80x64.jpg",
                    Image100x100Path = "~/Images/data/product/100x100/img-produce07-100x100.jpg",
                    Image240x192Path = "~/Images/data/product/240x192/img-produce07-240x192.jpg",
                    Image350x280Path = "~/Images/data/product/350x280/img-produce07-350x280.jpg",
                    RatingImagePath = "~/Images/data/rating/stars-4.png",
                    CategoryId = category.Id,
                    BrandId = brand.Id
                });

            return this;
        }