Beispiel #1
0
        public static void reload()
        {
            hotDogService = new HotDogService();
            profiles      = new List <Profile>();

            List <HotDog> myFavs = new List <HotDog>();

            myFavs.Add(hotDogService.Get(1));
            myFavs.Add(hotDogService.Get(2));
            myFavs.Add(hotDogService.Get(3));

            Profile p1 = new Profile()
            {
                Name           = "Oliver Queen",
                Bio            = "My name is Oliver Queen. For five years I was stranded on an island with only one goal - survive so that I could find the best Hotdog out there... When I returned to the city, I immediately began working on opening a HotDog Joint. I called it Ollie's Trollie. I experimented with all kinds of dogs and invite suggestions from my loyal customers, but I'm just not sure I have found the best dog. I would have to say the Cheese Filled Dog is the closest to perfection I have found thus far.",
                Picture        = "http://img3.wikia.nocookie.net/__cb20121109062657/arrow-france/fr/images/8/8f/Arrow_LesPersonnages_OliverQueen.jpg",
                ProfileID      = 1,
                FavoriteHotDog = hotDogService.Get(2),
                HotDogList     = myFavs
            };

            profiles.Add(p1);

            myFavs = new List <HotDog>();
            myFavs.Add(hotDogService.Get(1));
            myFavs.Add(hotDogService.Get(3));

            Profile p2 = new Profile()
            {
                Name           = "F. Smoak",
                Bio            = "Hi, you can call me Fe! I am a totally nerd, but I do appreciate a good dog whenever I can get myself out of the lair. I don't like to leave often so I haven't been able to try many hotdogs yet. So far, I'd say my favorite is the Chilli Cheese Dog!",
                Picture        = "https://c2.staticflickr.com/8/7371/13039510383_f865f217f3_b.jpg",
                ProfileID      = 2,
                FavoriteHotDog = hotDogService.Get(1),
                HotDogList     = myFavs
            };

            profiles.Add(p2);

            myFavs = new List <HotDog>();
            myFavs.Add(hotDogService.Get(2));

            Profile p3 = new Profile()
            {
                Name           = "Canary",
                Bio            = "I'm just in it for the dogs",
                Picture        = "http://img2.wikia.nocookie.net/__cb20131031025638/marvel_dc/images/5/55/Sara_Lance_(Arrow)_002.jpg",
                ProfileID      = 3,
                FavoriteHotDog = hotDogService.Get(3),
                HotDogList     = myFavs
            };

            profiles.Add(p3);
        }
        public static void reload()
        {
            hotDogService = new HotDogService();
            profiles      = new List <Profile>();

            List <HotDog> myFavs = new List <HotDog>();

            myFavs.Add(hotDogService.Get(1));
            myFavs.Add(hotDogService.Get(2));
            myFavs.Add(hotDogService.Get(3));

            Profile p1 = new Profile()
            {
                Name           = "Wesley Reisz",
                Bio            = "Bacon ipsum dolor amet brisket shankle ribeye hamburger shoulder alcatra. Leberkas beef turkey, tail pork chop flank porchetta shankle turducken. Pancetta salami frankfurter, leberkas pork chop ham hock shoulder short loin strip steak brisket pork belly capicola ground round spare ribs rump. Andouille alcatra cow pork chop cupim, pancetta capicola shank. Andouille picanha pastrami biltong ham. Meatball sirloin shank cow short loin doner. Pork strip steak boudin ham leberkas fatback. Strip steak pork loin meatloaf shoulder capicola fatback. Strip steak capicola hamburger, ground round kielbasa t-bone ham hock ham. Meatball rump sausage drumstick turkey pastrami filet mignon pig biltong. Jowl kielbasa bacon kevin, jerky filet mignon pork chop chuck chicken beef pig shoulder. Tail alcatra porchetta chicken jowl doner meatball. Tongue shank andouille ribeye, alcatra tail meatball picanha porchetta pancetta pastrami kevin.",
                Picture        = "http://www.wesleyreisz.com/images/atsea.jpg",
                ProfileID      = 1,
                FavoriteHotDog = hotDogService.Get(1),
                HotDogList     = myFavs
            };

            profiles.Add(p1);

            myFavs = new List <HotDog>();
            myFavs.Add(hotDogService.Get(1));
            myFavs.Add(hotDogService.Get(3));

            Profile p2 = new Profile()
            {
                Name           = "Bobby Bacon",
                Bio            = "Bacon ipsum dolor amet brisket shankle ribeye hamburger shoulder alcatra. Leberkas beef turkey, tail pork chop flank porchetta shankle turducken. Pancetta salami frankfurter, leberkas pork chop ham hock shoulder short loin strip steak brisket pork belly capicola ground round spare ribs rump. Andouille alcatra cow pork chop cupim, pancetta capicola shank. Andouille picanha pastrami biltong ham. Meatball sirloin shank cow short loin doner. Pork strip steak boudin ham leberkas fatback. Strip steak pork loin meatloaf shoulder capicola fatback. Strip steak capicola hamburger, ground round kielbasa t-bone ham hock ham. Meatball rump sausage drumstick turkey pastrami filet mignon pig biltong. Jowl kielbasa bacon kevin, jerky filet mignon pork chop chuck chicken beef pig shoulder. Tail alcatra porchetta chicken jowl doner meatball. Tongue shank andouille ribeye, alcatra tail meatball picanha porchetta pancetta pastrami kevin.",
                Picture        = "http://blog.estately.com/assets/kevin-bacon-art-jason-mecier.jpg",
                ProfileID      = 2,
                FavoriteHotDog = hotDogService.Get(3),
                HotDogList     = myFavs
            };

            profiles.Add(p2);

            myFavs = new List <HotDog>();
            myFavs.Add(hotDogService.Get(2));

            Profile p3 = new Profile()
            {
                Name           = "Valorie Vegan",
                Bio            = "Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic. Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini. Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce kohlrabi amaranth water spinach avocado daikon napa cabbage asparagus winter purslane kale. Celery potato scallion desert raisin horseradish spinach carrot soko. Lotus root water spinach fennel kombu maize bamboo shoot green bean swiss chard seakale pumpkin onion chickpea gram corn pea. Brussels sprout coriander water chestnut gourd swiss chard wakame kohlrabi beetroot carrot watercress. Corn amaranth salsify bunya nuts nori azuki bean chickweed potato bell pepper artichoke. Nori grape silver beet broccoli kombu beet greens fava bean potato quandong celery. Bunya nuts black-eyed pea prairie turnip leek lentil turnip greens parsnip. Sea lettuce lettuce water chestnut eggplant winter purslane fennel azuki bean earthnut pea sierra leone bologi leek soko chicory celtuce parsley jícama salsify. Celery quandong swiss chard chicory earthnut pea potato. Salsify taro catsear garlic gram celery bitterleaf wattle seed collard greens nori. Grape wattle seed kombu beetroot horseradish carrot squash brussels sprout chard.",
                Picture        = "http://delavegart.com/communities/3/000/001/042/293//images/6013306.jpg",
                ProfileID      = 3,
                FavoriteHotDog = hotDogService.Get(2),
                HotDogList     = myFavs
            };

            profiles.Add(p3);
        }