Example #1
0
        public static void Seed(IApplicationBuilder applicationBuilder)
        {
            AppDbContext context =
                applicationBuilder.ApplicationServices.GetRequiredService <AppDbContext>();

            if (!context.Categories.Any())
            {
                context.Categories.AddRange(Categories.Select(c => c.Value));
            }

            if (!context.Drinks.Any())
            {
                context.AddRange
                (
                    new Drink {
                    Name              = "Beer",
                    Price             = 7.95M, ShortDescription = "The most widely consumed alcohol",
                    LongDescription   = "Beer is the world's oldest[1][2][3] and most widely consumed[4] alcoholic drink; it is the third most popular drink overall, after water and tea.[5] The production of beer is called brewing, which involves the fermentation of starches, mainly derived from cereal grains—most commonly malted barley, although wheat, maize (corn), and rice are widely used.[6] Most beer is flavoured with hops, which add bitterness and act as a natural preservative, though other flavourings such as herbs or fruit may occasionally be included. The fermentation process causes a natural carbonation effect, although this is often removed during processing, and replaced with forced carbonation.[7] Some of humanity's earliest known writings refer to the production and distribution of beer: the Code of Hammurabi included laws regulating beer and beer parlours.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/beerL_2.jpg",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "http://imgh.us/beerS_1.jpeg"
                },
                    new Drink {
                    Name              = "Rum & Coke",
                    Price             = 12.95M, ShortDescription = "Cocktail made of cola, lime and rum.",
                    LongDescription   = "The world's second most popular drink was born in a collision between the United States and Spain. It happened during the Spanish-American War at the turn of the century when Teddy Roosevelt, the Rough Riders, and Americans in large numbers arrived in Cuba. One afternoon, a group of off-duty soldiers from the U.S. Signal Corps were gathered in a bar in Old Havana. Fausto Rodriguez, a young messenger, later recalled that Captain Russell came in and ordered Bacardi (Gold) rum and Coca-Cola on ice with a wedge of lime. The captain drank the concoction with such pleasure that it sparked the interest of the soldiers around him. They had the bartender prepare a round of the captain's drink for them. The Bacardi rum and Coke was an instant hit. As it does to this day, the drink united the crowd in a spirit of fun and good fellowship. When they ordered another round, one soldier suggested that they toast ¡Por Cuba Libre! in celebration of the newly freed Cuba.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/rumCokeL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/rumAndCokeS.jpg"
                },
                    new Drink {
                    Name              = "Tequila ",
                    Price             = 12.95M, ShortDescription = "Beverage made from the blue agave plant.",
                    LongDescription   = "Tequila (Spanish About this sound [teˈkila] (help·info)) is a regionally specific name for a distilled beverage made from the blue agave plant, primarily in the area surrounding the city of Tequila, 65 km (40 mi) northwest of Guadalajara, and in the highlands (Los Altos) of the central western Mexican state of Jalisco. Although tequila is similar to mezcal, modern tequila differs somewhat in the method of its production, in the use of only blue agave plants, as well as in its regional specificity. Tequila is commonly served neat in Mexico and as a shot with salt and lime across the rest of the world.The red volcanic soil in the surrounding region is particularly well suited to the growing of the blue agave, and more than 300 million of the plants are harvested there each year.[1] Agave tequila grows differently depending on the region. Blue agaves grown in the highlands Los Altos region are larger in size and sweeter in aroma and taste. Agaves harvested in the lowlands, on the other hand, have a more herbaceous fragrance and flavor.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/tequilaL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/tequilaS.jpg"
                },
                    new Drink
                {
                    Name              = "Wine ",
                    Price             = 16.75M,
                    ShortDescription  = "A very elegant alcoholic drink",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/wineL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/wineS.jpg"
                },
                    new Drink
                {
                    Name              = "Margarita",
                    Price             = 17.95M,
                    ShortDescription  = "A cocktail with sec, tequila and lime",
                    Category          = Categories["Alcoholic"],
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    ImageUrl          = "http://imgh.us/margaritaL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/margaritaS.jpg"
                },
                    new Drink {
                    Name              = "Whiskey with Ice",
                    Price             = 15.95M, ShortDescription = "The best way to taste whiskey",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/whiskyIceL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/whiskeyS.jpg"
                },
                    new Drink
                {
                    Name              = "Jägermeister",
                    Price             = 15.95M,
                    ShortDescription  = "A German digestif made with 56 herbs",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/jagermeisterL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/jagermeisterS.jpg"
                },
                    new Drink
                {
                    Name              = "Champagne",
                    Price             = 15.95M,
                    ShortDescription  = "That is how sparkling wine can be called",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/champagneL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/champagneS.jpg"
                },
                    new Drink
                {
                    Name              = "Piña colada ",
                    Price             = 15.95M,
                    ShortDescription  = "A sweet cocktail made with rum.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/pinaColadaL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/pinaColadaS.jpg"
                },
                    new Drink
                {
                    Name              = "White Russian",
                    Price             = 15.95M,
                    ShortDescription  = "A cocktail made with vodka ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/whiteRussianL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/whiteRussianS.jpg"
                },
                    new Drink
                {
                    Name              = "Long Island Iced Tea",
                    Price             = 15.95M,
                    ShortDescription  = "Aa mixed drink made with tequila.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/longTeaL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/islandTeaS.jpg"
                },
                    new Drink
                {
                    Name              = "Vodka",
                    Price             = 15.95M,
                    ShortDescription  = "A distilled beverage with water and ethanol.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/vodkaL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/vodkaS.jpg"
                },
                    new Drink
                {
                    Name              = "Gin and tonic",
                    Price             = 15.95M,
                    ShortDescription  = "Made with gin and tonic water poured over ice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/ginTonicL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/ginTonicS.jpg"
                },
                    new Drink
                {
                    Name              = "Cosmopolitan",
                    Price             = 15.95M,
                    ShortDescription  = "Made with vodka, triple sec, cranberry juice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "http://imgh.us/cosmopolitanL.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/cosmopolitanS.jpg"
                },
                    new Drink {
                    Name              = "Tea ",
                    Price             = 12.95M,
                    ShortDescription  = "Made by leaves of the tea plant in hot water.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "http://imgh.us/teaL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "http://imgh.us/teaS.jpg"
                },
                    new Drink
                {
                    Name              = "Water ",
                    Price             = 12.95M,
                    ShortDescription  = " It makes up more than half of your body weight ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "http://imgh.us/waterL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/waterS_1.jpg"
                },
                    new Drink
                {
                    Name              = "Coffee ",
                    Price             = 12.95M,
                    ShortDescription  = " A beverage prepared from coffee beans",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "http://imgh.us/coffeeL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "http://imgh.us/coffeS.jpg"
                },
                    new Drink
                {
                    Name              = "Kvass",
                    Price             = 12.95M,
                    ShortDescription  = "A very refreshing Russian beverage",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "http://imgh.us/kvassL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/kvassS.jpg"
                },
                    new Drink
                {
                    Name              = "Juice ",
                    Price             = 12.95M,
                    ShortDescription  = "Naturally contained in fruit or vegetable tissue.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "http://imgh.us/juiceL.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "http://imgh.us/juiceS.jpg"
                }
                );
            }

            context.SaveChanges();
        }
Example #2
0
        public static void Seed(IServiceProvider applicationBuilder)
        {
            AppDbContext context =
                applicationBuilder.GetRequiredService <AppDbContext>();

            if (!context.Categories.Any())
            {
                context.Categories.AddRange(Categories.Select(c => c.Value));
            }

            if (!context.Drinks.Any())
            {
                context.AddRange
                (
                    new Drink
                {
                    Name              = "Beer",
                    Price             = 7.95M,
                    ShortDescription  = "The most widely consumed alcohol",
                    LongDescription   = "Beer is the world's oldest[1][2][3] and most widely consumed[4] alcoholic drink; it is the third most popular drink overall, after water and tea.[5] The production of beer is called brewing, which involves the fermentation of starches, mainly derived from cereal grains—most commonly malted barley, although wheat, maize (corn), and rice are widely used.[6] Most beer is flavoured with hops, which add bitterness and act as a natural preservative, though other flavourings such as herbs or fruit may occasionally be included. The fermentation process causes a natural carbonation effect, although this is often removed during processing, and replaced with forced carbonation.[7] Some of humanity's earliest known writings refer to the production and distribution of beer: the Code of Hammurabi included laws regulating beer and beer parlours.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.holidify.com/images/cmsuploads/compressed/684133728_20180601001931.jpg",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://steptohealth.com/wp-content/uploads/2015/10/beer.jpg"
                },
                    new Drink
                {
                    Name              = "Rum & Coke",
                    Price             = 12.95M,
                    ShortDescription  = "Cocktail made of cola, lime and rum.",
                    LongDescription   = "The world's second most popular drink was born in a collision between the United States and Spain. It happened during the Spanish-American War at the turn of the century when Teddy Roosevelt, the Rough Riders, and Americans in large numbers arrived in Cuba. One afternoon, a group of off-duty soldiers from the U.S. Signal Corps were gathered in a bar in Old Havana. Fausto Rodriguez, a young messenger, later recalled that Captain Russell came in and ordered Bacardi (Gold) rum and Coca-Cola on ice with a wedge of lime. The captain drank the concoction with such pleasure that it sparked the interest of the soldiers around him. They had the bartender prepare a round of the captain's drink for them. The Bacardi rum and Coke was an instant hit. As it does to this day, the drink united the crowd in a spirit of fun and good fellowship. When they ordered another round, one soldier suggested that they toast ¡Por Cuba Libre! in celebration of the newly freed Cuba.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.thespruceeats.com/thmb/AmLtrs-JBC7Yq_rNwwIWF09CNp0=/1000x562/smart/filters:no_upscale()/rum-coke-5a8f3360875db90036ac14ca.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://assets3.thrillist.com/v1/image/2767672/size/tmg-article_default_mobile.jpg"
                },
                    new Drink
                {
                    Name              = "Tequila ",
                    Price             = 12.95M,
                    ShortDescription  = "Beverage made from the blue agave plant.",
                    LongDescription   = "Tequila (Spanish About this sound [teˈkila] (help·info)) is a regionally specific name for a distilled beverage made from the blue agave plant, primarily in the area surrounding the city of Tequila, 65 km (40 mi) northwest of Guadalajara, and in the highlands (Los Altos) of the central western Mexican state of Jalisco. Although tequila is similar to mezcal, modern tequila differs somewhat in the method of its production, in the use of only blue agave plants, as well as in its regional specificity. Tequila is commonly served neat in Mexico and as a shot with salt and lime across the rest of the world.The red volcanic soil in the surrounding region is particularly well suited to the growing of the blue agave, and more than 300 million of the plants are harvested there each year.[1] Agave tequila grows differently depending on the region. Blue agaves grown in the highlands Los Altos region are larger in size and sweeter in aroma and taste. Agaves harvested in the lowlands, on the other hand, have a more herbaceous fragrance and flavor.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://previews.123rf.com/images/malinkaphoto/malinkaphoto1610/malinkaphoto161000047/65179678-tequila-gold-mexican-alcohol-in-shot-glasses-lime-and-salt-toned-image-selective-focus.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://previews.123rf.com/images/tasipas/tasipas1604/tasipas160400019/55903531-three-shots-of-gold-tequila-with-lime-and-salt-on-the-black-background-tequila-shot-gold-mexican-teq.jpg"
                },
                    new Drink
                {
                    Name              = "Wine ",
                    Price             = 16.75M,
                    ShortDescription  = "A very elegant alcoholic drink",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://bestdecantersets.com/wp-content/uploads/2018/10/Wine-Glasses-Cover.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://cms.splendidtable.org/sites/default/files/styles/w2000/public/wine-glasses_andresr-iStock-GettyImagesPlus-468917818-LEDE.jpg?itok=atCY6SJT"
                },
                    new Drink
                {
                    Name              = "Margarita",
                    Price             = 17.95M,
                    ShortDescription  = "A cocktail with sec, tequila and lime",
                    Category          = Categories["Alcoholic"],
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    ImageUrl          = "https://tendercrate.com/wp-content/uploads/2019/04/Margarita002-500x375.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/gettyimages-957892610-1554995400.jpg"
                },
                    new Drink
                {
                    Name              = "Whiskey with Ice",
                    Price             = 15.95M,
                    ShortDescription  = "The best way to taste whiskey",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.pulse.lk/wp-content/uploads/2016/08/Whiskey-on-the-rocks.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://assets3.thrillist.com/v1/image/2704804/size/tmg-article_default_mobile.jpg"
                },
                    new Drink
                {
                    Name              = "Jägermeister",
                    Price             = 15.95M,
                    ShortDescription  = "A German digestif made with 56 herbs",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://images.ctfassets.net/kjc0jmow0idt/eJnaiTnZOSo4ieEqA40AY/33f973e817e2a517e8ef692319eae435/teaser_instagram.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://images.ctfassets.net/mj09inqdun29/1N3lTkTacE2eywUs8MaOEw/96c4f63a53407355f30197d76ce1cce2/jaegermusic.jpg"
                },
                    new Drink
                {
                    Name              = "Champagne",
                    Price             = 15.95M,
                    ShortDescription  = "That is how sparkling wine can be called",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.urlaub-obertauern.at/media/product/b26/sekt-champagner-d95.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://www.handelsblatt.com/images/prickelnde-probleme/19569686/2-format2020.jpg"
                },
                    new Drink
                {
                    Name              = "Piña colada ",
                    Price             = 15.95M,
                    ShortDescription  = "A sweet cocktail made with rum.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://cdn2.cocinadelirante.com/sites/default/files/styles/gallerie/public/images/2019/03/receta-pina-colada-sin-alcohol.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://d1u8lt4eqehkou.cloudfront.net/wp-content/uploads/easy-pina-colada-recipe.jpg"
                },
                    new Drink
                {
                    Name              = "White Russian",
                    Price             = 15.95M,
                    ShortDescription  = "A cocktail made with vodka ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://basilandbubbly.com/wp-content/uploads/2016/10/chocolate-white-russian-2.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://i.pinimg.com/originals/af/d2/4c/afd24c5047e6aaa1cfbe4dd8e8d7468f.jpg"
                },
                    new Drink
                {
                    Name              = "Long Island Iced Tea",
                    Price             = 15.95M,
                    ShortDescription  = "Aa mixed drink made with tequila.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://i.ytimg.com/vi/f_ueupISFFo/maxresdefault.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://i.ytimg.com/vi/cUZTStHFePw/maxresdefault.jpg"
                },
                    new Drink
                {
                    Name              = "Vodka",
                    Price             = 15.95M,
                    ShortDescription  = "A distilled beverage with water and ethanol.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://static.vinepair.com/wp-content/uploads/2019/08/belvedere_article2_header_2.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://static.vinepair.com/wp-content/uploads/2019/09/belvedere_article3_header.jpg"
                },
                    new Drink
                {
                    Name              = "Gin and tonic",
                    Price             = 15.95M,
                    ShortDescription  = "Made with gin and tonic water poured over ice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.shop-spiegelau.com/media/catalog/product/cache/3/image/800x800/9df78eab33525d08d6e5fb8d27136e95/1/0/41ba40841db9ca100110746d60c9f058/Nachtmann-Gin-and-Tonic-Glass,-Set-of-4-102892.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://images.getbento.com/accounts/1657f4f6b3896dd6586d99c265a97178/media/images/69780Ultimate_GT.jpg?fit=max&w=1800&auto=format,compress"
                },
                    new Drink
                {
                    Name              = "Cosmopolitan",
                    Price             = 15.95M,
                    ShortDescription  = "Made with vodka, triple sec, cranberry juice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://i.ytimg.com/vi/FSj3lpFHZOg/maxresdefault.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://previews.123rf.com/images/ivanmateev/ivanmateev1502/ivanmateev150201700/36191524-a-cosmopolitan-is-a-cocktail-made-with-vodka-.jpg"
                },
                    new Drink
                {
                    Name              = "Tea ",
                    Price             = 12.95M,
                    ShortDescription  = "Made by leaves of the tea plant in hot water.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://i0.wp.com/cdn-prod.medicalnewstoday.com/content/images/articles/322/322624/herbal-tea-for-constipation.jpg?w=1155&h=1541",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://cdn1.sph.harvard.edu/wp-content/uploads/sites/30/2019/07/beverage-blur-cup-370018-1200x875.jpg"
                },
                    new Drink
                {
                    Name              = "Water ",
                    Price             = 12.95M,
                    ShortDescription  = " It makes up more than half of your body weight ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://nnimgt-a.akamaihd.net/transform/v1/crop/frm/A3aygSSaTF7hiCbjiqBAXx/e24cc52a-ebc6-4342-9d87-59ef79e20693.jpg/r0_0_1000_563_w1200_h678_fmax.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://i0.wp.com/cdn-prod.medicalnewstoday.com/content/images/articles/327/327185/a-glass-of-pure-water-with-a-ph-of-7.jpg?w=1155&h=1444"
                },
                    new Drink
                {
                    Name              = "Coffee ",
                    Price             = 12.95M,
                    ShortDescription  = " A beverage prepared from coffee beans",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://i0.wp.com/cdn-prod.medicalnewstoday.com/content/images/articles/322/322649/coffee.jpg?w=1155&h=1541",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://yournews.com/wp-content/uploads/2019/11/coffee_main_envat-1280x720.jpg"
                },
                    new Drink
                {
                    Name              = "Kvass",
                    Price             = 12.95M,
                    ShortDescription  = "A very refreshing Russian beverage",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://cdni.rbth.com/rbthmedia/images/web/en-rbth/images/2012-06/big/Lori_LegionMedia_kvas_468.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://cdni.rbth.com/rbthmedia/images/2017.11/article/5a02f86c15e9f930c9451fce.jpg"
                },
                    new Drink
                {
                    Name              = "Juice ",
                    Price             = 12.95M,
                    ShortDescription  = "Naturally contained in fruit or vegetable tissue.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://www.newtimes.co.rw/sites/default/files/styles/mystyle/public/main/articles/2019/11/27/xraju-fruit-juice-kirti-nagar-delhi-juice-centres-1bkb8kg.jpg.pagespeed.ic.CCL_UNKhP8.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://res.cloudinary.com/popmenu/image/upload/c_limit,f_auto,h_1440,q_auto,w_1440/axkwnptxya0b78itwlfx.jpg"
                }
                );
            }

            context.SaveChanges();
        }
        public static void Seed(IApplicationBuilder applicationBuilder)
        {
            AppDbContext context =
                applicationBuilder.ApplicationServices.GetRequiredService <AppDbContext>();

            if (!context.Categories.Any())
            {
                context.Categories.AddRange(Categories.Select(c => c.Value));
            }

            if (!context.Drinks.Any())
            {
                context.AddRange
                (
                    new Drink
                {
                    Name              = "Beer",
                    Price             = 7.95M,
                    ShortDescription  = "The most widely consumed alcohol",
                    LongDescription   = "Beer is the world's oldest[1][2][3] and most widely consumed[4] alcoholic drink; it is the third most popular drink overall, after water and tea.[5] The production of beer is called brewing, which involves the fermentation of starches, mainly derived from cereal grains—most commonly malted barley, although wheat, maize (corn), and rice are widely used.[6] Most beer is flavoured with hops, which add bitterness and act as a natural preservative, though other flavourings such as herbs or fruit may occasionally be included. The fermentation process causes a natural carbonation effect, although this is often removed during processing, and replaced with forced carbonation.[7] Some of humanity's earliest known writings refer to the production and distribution of beer: the Code of Hammurabi included laws regulating beer and beer parlours.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://cdn.shopify.com/s/files/1/0066/2791/7914/products/13291.jpg?v=1560179923",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://cdn.shopify.com/s/files/1/0066/2791/7914/products/13291_480x480.jpg?v=1588047064"
                },
                    new Drink
                {
                    Name              = "Rum & Coke",
                    Price             = 12.95M,
                    ShortDescription  = "Cocktail made of cola, lime and rum.",
                    LongDescription   = "The world's second most popular drink was born in a collision between the United States and Spain. It happened during the Spanish-American War at the turn of the century when Teddy Roosevelt, the Rough Riders, and Americans in large numbers arrived in Cuba. One afternoon, a group of off-duty soldiers from the U.S. Signal Corps were gathered in a bar in Old Havana. Fausto Rodriguez, a young messenger, later recalled that Captain Russell came in and ordered Bacardi (Gold) rum and Coca-Cola on ice with a wedge of lime. The captain drank the concoction with such pleasure that it sparked the interest of the soldiers around him. They had the bartender prepare a round of the captain's drink for them. The Bacardi rum and Coke was an instant hit. As it does to this day, the drink united the crowd in a spirit of fun and good fellowship. When they ordered another round, one soldier suggested that they toast ¡Por Cuba Libre! in celebration of the newly freed Cuba.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://lh3.googleusercontent.com/proxy/IXB-tXWiLvsAYqDXrTjZlpRMoYeWlrp0MP7brTabmi4QUSJZ2fh4oDo1b6E70DwfuKcC0mh2INicz2tzXUZEL14zMzIfWdKKknmwGubviDjR4gCteutVb-T86U089poVefhw5gwAkQn1CZgBEI4",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcT87we5aaLIgcDLGRWhsOrbb1PTcyi0C3oeC0o1Kxqw9-oqLbAA&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Tequila ",
                    Price             = 12.95M,
                    ShortDescription  = "Beverage made from the blue agave plant.",
                    LongDescription   = "Tequila (Spanish About this sound [teˈkila] (help·info)) is a regionally specific name for a distilled beverage made from the blue agave plant, primarily in the area surrounding the city of Tequila, 65 km (40 mi) northwest of Guadalajara, and in the highlands (Los Altos) of the central western Mexican state of Jalisco. Although tequila is similar to mezcal, modern tequila differs somewhat in the method of its production, in the use of only blue agave plants, as well as in its regional specificity. Tequila is commonly served neat in Mexico and as a shot with salt and lime across the rest of the world.The red volcanic soil in the surrounding region is particularly well suited to the growing of the blue agave, and more than 300 million of the plants are harvested there each year.[1] Agave tequila grows differently depending on the region. Blue agaves grown in the highlands Los Altos region are larger in size and sweeter in aroma and taste. Agaves harvested in the lowlands, on the other hand, have a more herbaceous fragrance and flavor.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://hips.hearstapps.com/vader-prod.s3.amazonaws.com/1584997500-eljimsil_1200x1200.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTmFcw9fCaqxyyMw7W2xUMB1F8pkaNqnM3lS2L1pPnb_HkF99gN&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Wine ",
                    Price             = 16.75M,
                    ShortDescription  = "A very elegant alcoholic drink",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://cdn.shopify.com/s/files/1/0025/1265/0352/products/lazo-cab_327286bb-43a0-4d04-b4a1-dd991c91e9aa_600x.png?v=1539000865",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRtYSX6cGNU461xnjgdRpm51rUPhNe2xRM96_wM8UIJfC2zptIK&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Margarita",
                    Price             = 17.95M,
                    ShortDescription  = "A cocktail with sec, tequila and lime",
                    Category          = Categories["Alcoholic"],
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    ImageUrl          = "https://assets.bonappetit.com/photos/5b69f16006027f654a27cd19/master/pass/ba-margarita-1.jpgs",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRtu_RdH7K1EahiwTVqneWhjQT9AQKC1x5Qlgm3hu7vm15LscQs&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Whiskey with Ice",
                    Price             = 15.95M,
                    ShortDescription  = "The best way to taste whiskey",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://previews.123rf.com/images/gresei/gresei1404/gresei140400062/27709569-glass-of-scotch-whiskey-and-ice-on-a-white-background.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRvHsmmQdMyOHSDHkcEM7_WxxhUvFk0_HXRF1mRHbkem1Y3rKu_&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Jägermeister",
                    Price             = 15.95M,
                    ShortDescription  = "A German digestif made with 56 herbs",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://d3r6kbofdnmd8.cloudfront.net/media/catalog/product/cache/image/1536x/a4e40ebdc3e371adff845072e1c73f37/9/9/99078_jaegermeister_1750.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS6-To94sSBDezo4q3NA9ZWkV109qH-BpZg5-qgzopthoGWn674&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Champagne",
                    Price             = 15.95M,
                    ShortDescription  = "That is how sparkling wine can be called",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.totalwine.com/dynamic/x490,sq/media/sys_master/twmmedia/hc2/h0b/12291720347678.png",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS3CpjCLreJOfd3LATIHX-m56Qg07W5LtVrjheCmnb_7xpq3n7N&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Piña colada ",
                    Price             = 15.95M,
                    ShortDescription  = "A sweet cocktail made with rum.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://hips.hearstapps.com/del.h-cdn.co/assets/16/17/1461680019-shot-1-187.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcROd3f2JWPEKB7eFBfEFqsjYtAzGQvpBXg-mzSa8zl5plxVYBmI&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "White Russian",
                    Price             = 15.95M,
                    ShortDescription  = "A cocktail made with vodka ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://cdn.diffords.com/contrib/stock-images/2017/4/25/2017a6deb984f34e6171ba7e7c5c36b6df6c.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRGF1G9EnyLIzjGNKlju8eS8eMfdKGTipZk3Q6qE1fLG1ro4-8o&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Long Island Iced Tea",
                    Price             = 15.95M,
                    ShortDescription  = "Aa mixed drink made with tequila.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.supergoldenbakes.com/wordpress/wp-content/uploads/2019/07/Long_island_iced_tea-1-4s.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRxwzdfcN9fBK9dohXlzzhGl1-moPn8JT_H13-MymMQrQ8LFgSd&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Vodka",
                    Price             = 15.95M,
                    ShortDescription  = "A distilled beverage with water and ethanol.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://d3r6kbofdnmd8.cloudfront.net/media/catalog/product/cache/image/1536x/a4e40ebdc3e371adff845072e1c73f37/9/9/99033_absolut_1l_edo_3.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQ3fEPh_8ZqmFV7a70d0rzEWubilYx_VAUlw-mPfmseItAkrHze&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Gin and tonic",
                    Price             = 15.95M,
                    ShortDescription  = "Made with gin and tonic water poured over ice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://www.thespruceeats.com/thmb/1ePl8zEkTLtgerd56-HJF8oqyO0=/668x668/smart/filters:no_upscale()/gin-tonic-5a8f334b8e1b6e0036a9631d.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRkpEBD9td1WHxFopIStw9qa16lTUvy7UCy_cZdrSSb_hys6pbi&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Cosmopolitan",
                    Price             = 15.95M,
                    ShortDescription  = "Made with vodka, triple sec, cranberry juice.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Alcoholic"],
                    ImageUrl          = "https://mixthatdrink.com/wp-content/uploads/2009/05/cosmopolitan-cocktail-2-735x735.jpg",
                    InStock           = false,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSPriUQUlEY85u1XsCJp5mz30ze-5YVtWup8v4rZ51XlsTCXYYP&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Tea ",
                    Price             = 12.95M,
                    ShortDescription  = "Made by leaves of the tea plant in hot water.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://d2c7ipcroan06u.cloudfront.net/wp-content/uploads/2019/03/tea-696x392.jpg",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTJgDd3h_jZfYDPFlzAGCaU-GxLrjvZdqDZgW9wwuMuW1Y0vB6S&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Water ",
                    Price             = 12.95M,
                    ShortDescription  = " It makes up more than half of your body weight ",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://www.marcozanetti.info/wp-content/uploads/2019/03/water.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQX3pLaWZQU-8jw3AONt3Lxf5WPHFPbn-ezHMLhhVm0mf8cy9P3&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Coffee ",
                    Price             = 12.95M,
                    ShortDescription  = " A beverage prepared from coffee beans",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://lensdrop.imgix.net/photos/5g34q/stock-photo-5g34q.jpeg?mark=%2Fwm.png&markalign=center%2Cmiddle&markh=0.1&w=1200&h=650&s=a1d886c61d4c3318484f6c71647b462b",
                    InStock           = true,
                    IsPreferredDrink  = true,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcR2ywuxx3oLZNofSO9NcQroH7h3fYM6VFfVTU5eclJidbQk-jNe&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Kvass",
                    Price             = 12.95M,
                    ShortDescription  = "A very refreshing Russian beverage",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://natashaskitchen.com/wp-content/uploads/2010/07/Russian-kvas-600x600.jpg",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcS2UEiZwx7hMJcDpiS6a9IltGUF4Wv6niYUm_cGY_Nn1qeyME3m&usqp=CAU"
                },
                    new Drink
                {
                    Name              = "Juice ",
                    Price             = 12.95M,
                    ShortDescription  = "Naturally contained in fruit or vegetable tissue.",
                    LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                    Category          = Categories["Non-alcoholic"],
                    ImageUrl          = "https://res.klook.com/image/upload/c_fill,w_960,h_460,f_auto/w_80,x_15,y_15,g_south_west,l_klook_water/activities/akbvlx0q0jjlsa33wamt.webp",
                    InStock           = true,
                    IsPreferredDrink  = false,
                    ImageThumbnailUrl = "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQqOnEDOuWFkjhcJg2IuXTkUf9zYn2DfaYe6HOe51ERyBBX3-ms&usqp=CAU"
                }
                );
            }

            context.SaveChanges();
        }
        public static void Seed(IApplicationBuilder applicationBuilder)
        {
            //using (var scope = app.ApplicationServices.GetRequiredService<IServiceScopeFactory>().CreateScope())
            //{
            //    var context = scope.ServiceProvider.GetService<ApplicationDbContext>();

            //    if (!context.Products.Any())
            //    {
            //        context.Products.AddRange(new Product
            //        {
            //            Name = "Kayak",
            //            Description = "A boat for one person",
            //            Category = "Watersports",
            //            Price = 275
            //        });
            //        context.SaveChanges();
            //    }
            //}

            using (var scope = applicationBuilder.ApplicationServices.GetRequiredService <IServiceScopeFactory>().CreateScope())
            {
                AppDbContext context = scope.ServiceProvider.GetService <AppDbContext>();

                if (!context.Categories.Any())
                {
                    context.Categories.AddRange(Categories.Select(c => c.Value).Distinct());
                }
                else
                {
                }


                if (!context.Drinks.Any())
                {
                    context.AddRange
                    (
                        new Drink
                    {
                        Name              = "Beer",
                        Price             = 7.95M,
                        ShortDescription  = "The most widely consumed alcohol",
                        LongDescription   = "Beer is the world's oldest[1][2][3] and most widely consumed[4] alcoholic drink; it is the third most popular drink overall, after water and tea.[5] The production of beer is called brewing, which involves the fermentation of starches, mainly derived from cereal grains—most commonly malted barley, although wheat, maize (corn), and rice are widely used.[6] Most beer is flavoured with hops, which add bitterness and act as a natural preservative, though other flavourings such as herbs or fruit may occasionally be included. The fermentation process causes a natural carbonation effect, although this is often removed during processing, and replaced with forced carbonation.[7] Some of humanity's earliest known writings refer to the production and distribution of beer: the Code of Hammurabi included laws regulating beer and beer parlours.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/beer-and-fries-picture-id510863012?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = true,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/beer-and-fries-picture-id510863012?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Rum & Coke",
                        Price             = 12.95M,
                        ShortDescription  = "Cocktail made of cola, lime and rum.",
                        LongDescription   = "The world's second most popular drink was born in a collision between the United States and Spain. It happened during the Spanish-American War at the turn of the century when Teddy Roosevelt, the Rough Riders, and Americans in large numbers arrived in Cuba. One afternoon, a group of off-duty soldiers from the U.S. Signal Corps were gathered in a bar in Old Havana. Fausto Rodriguez, a young messenger, later recalled that Captain Russell came in and ordered Bacardi (Gold) rum and Coca-Cola on ice with a wedge of lime. The captain drank the concoction with such pleasure that it sparked the interest of the soldiers around him. They had the bartender prepare a round of the captain's drink for them. The Bacardi rum and Coke was an instant hit. As it does to this day, the drink united the crowd in a spirit of fun and good fellowship. When they ordered another round, one soldier suggested that they toast ¡Por Cuba Libre! in celebration of the newly freed Cuba.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/drink-picture-id469110007?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/drink-picture-id469110007?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Tequila ",
                        Price             = 12.95M,
                        ShortDescription  = "Beverage made from the blue agave plant.",
                        LongDescription   = "Tequila (Spanish About this sound [teˈkila] (help·info)) is a regionally specific name for a distilled beverage made from the blue agave plant, primarily in the area surrounding the city of Tequila, 65 km (40 mi) northwest of Guadalajara, and in the highlands (Los Altos) of the central western Mexican state of Jalisco. Although tequila is similar to mezcal, modern tequila differs somewhat in the method of its production, in the use of only blue agave plants, as well as in its regional specificity. Tequila is commonly served neat in Mexico and as a shot with salt and lime across the rest of the world.The red volcanic soil in the surrounding region is particularly well suited to the growing of the blue agave, and more than 300 million of the plants are harvested there each year.[1] Agave tequila grows differently depending on the region. Blue agaves grown in the highlands Los Altos region are larger in size and sweeter in aroma and taste. Agaves harvested in the lowlands, on the other hand, have a more herbaceous fragrance and flavor.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/close-up-of-mojito-glass-with-lemon-slices-blurred-in-back-picture-id471447415?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/close-up-of-mojito-glass-with-lemon-slices-blurred-in-back-picture-id471447415?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Wine ",
                        Price             = 16.75M,
                        ShortDescription  = "A very elegant alcoholic drink",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/glasses-of-wine-and-cheese-assortment-or-various-type-of-cheese-wine-picture-id1196065656?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/glasses-of-wine-and-cheese-assortment-or-various-type-of-cheese-wine-picture-id1196065656?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Margarita",
                        Price             = 17.95M,
                        ShortDescription  = "A cocktail with sec, tequila and lime",
                        Category          = Categories["Alcoholic"],
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        ImageUrl          = "https://media.istockphoto.com/photos/margarita-cocktail-picture-id1169979053?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/margarita-cocktail-picture-id1169979053?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Whiskey with Ice",
                        Price             = 15.95M,
                        ShortDescription  = "The best way to taste whiskey",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/still-life-pour-or-whiskey-in-to-glass-picture-id490361148?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/still-life-pour-or-whiskey-in-to-glass-picture-id490361148?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Jägermeister",
                        Price             = 15.95M,
                        ShortDescription  = "A German digestif made with 56 herbs",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/jagermeister-bottles-picture-id458533411?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/jagermeister-bottles-picture-id458533411?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Champagne",
                        Price             = 15.95M,
                        ShortDescription  = "That is how sparkling wine can be called",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/closeup-of-champagne-flutes-picture-id1132805619?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/closeup-of-champagne-flutes-picture-id1132805619?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Piña colada ",
                        Price             = 15.95M,
                        ShortDescription  = "A sweet cocktail made with rum.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/frozen-pina-colada-on-pineapple-background-picture-id1266181724?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/frozen-pina-colada-on-pineapple-background-picture-id1266181724?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "White Russian",
                        Price             = 15.95M,
                        ShortDescription  = "A cocktail made with vodka ",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/white-russian-cocktail-in-glasses-with-straws-on-wooden-board-on-picture-id1190170685?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/white-russian-cocktail-in-glasses-with-straws-on-wooden-board-on-picture-id1190170685?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Long Island",
                        Price             = 15.95M,
                        ShortDescription  = "Aa mixed drink made with tequila.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/fresh-cocktail-cuba-libre-with-brown-rum-cola-mint-and-lime-on-black-picture-id1225223455?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/fresh-cocktail-cuba-libre-with-brown-rum-cola-mint-and-lime-on-black-picture-id1225223455?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Vodka",
                        Price             = 15.95M,
                        ShortDescription  = "A distilled beverage with water and ethanol.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/absolut-vodka-picture-id479307831?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/absolut-vodka-picture-id479307831?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Gin and tonic",
                        Price             = 15.95M,
                        ShortDescription  = "Made with gin and tonic water poured over ice.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/cucumber-and-lemon-refreshing-drink-with-mint-picture-id1182646774?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/cucumber-and-lemon-refreshing-drink-with-mint-picture-id1182646774?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Cosmopolitan",
                        Price             = 15.95M,
                        ShortDescription  = "Made with vodka, triple sec, cranberry juice.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/homemade-pink-vodka-cosmopolitan-drink-picture-id638287108?s=2048x2048",
                        InStock           = false,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/homemade-pink-vodka-cosmopolitan-drink-picture-id638287108?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Tea ",
                        Price             = 12.95M,
                        ShortDescription  = "Made by leaves of the tea plant in hot water.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Non-alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/pouring-tea-into-cup-of-tea-picture-id1163855176?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = true,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/pouring-tea-into-cup-of-tea-picture-id1163855176?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Water",
                        Price             = 12.95M,
                        ShortDescription  = " It makes up more than half of your body weight ",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Non-alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/pour-carbonated-water-into-a-glass-picture-id916352338?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/pour-carbonated-water-into-a-glass-picture-id916352338?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Coffee ",
                        Price             = 12.95M,
                        ShortDescription  = " A beverage prepared from coffee beans",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Non-alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/two-cup-of-coffee-on-the-table-close-up-picture-id967659352?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = true,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/two-cup-of-coffee-on-the-table-close-up-picture-id967659352?s=2048x2048"
                    },
                        new Drink
                    {
                        Name              = "Kvass",
                        Price             = 12.95M,
                        ShortDescription  = "A very refreshing Russian beverage",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Non-alcoholic"],
                        ImageUrl          = "https://image.freepik.com/free-photo/russian-traditional-drink-fermented-kvass-from-rye-bread-special-half-liter-mug_91908-3203.jpg",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://image.freepik.com/free-photo/russian-traditional-drink-fermented-kvass-from-rye-bread-special-half-liter-mug_91908-3203.jpg"
                    },
                        new Drink
                    {
                        Name              = "Juice ",
                        Price             = 12.95M,
                        ShortDescription  = "Naturally contained in fruit or vegetable tissue.",
                        LongDescription   = "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, comes from a line in section 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.",
                        Category          = Categories["Non-alcoholic"],
                        ImageUrl          = "https://media.istockphoto.com/photos/three-fruits-and-vegetables-detox-drinks-picture-id641975492?s=2048x2048",
                        InStock           = true,
                        IsPreferredDrink  = false,
                        ImageThumbnailUrl = "https://media.istockphoto.com/photos/three-fruits-and-vegetables-detox-drinks-picture-id641975492?s=2048x2048"
                    }
                    );
                }

                context.SaveChanges();
            }
        }