NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

public List<HotDog> GetAllHotDogs()
{
IEnumerable <HotDog> hotDogs =
from hotDogGroup in hotDogGroups
from hotDog in hotDogGroup.HotDogs

select hotDog;
return hotDogs.ToList<HotDog> ();
}

public List<HotDogGroup> GetGroupedHotDogs()
{
return hotDogGroups;
}

public List<HotDog> GetHotDogsForGroup(int hotDogGroupId)
{
var group = hotDogGroups.Where (h => h.HotDogGroupId == hotDogGroupId).FirstOrDefault();

if (group != null)
{
return group.HotDogs;
}
return null;
}

public List<HotDog> GetFavoriteHotDogs()
{
IEnumerable <HotDog> hotDogs =
from hotDogGroup in hotDogGroups
from hotDog in hotDogGroup.HotDogs
where hotDog.IsFavorite
select hotDog;

return hotDogs.ToList<HotDog> ();
}

public HotDog GetHotDogById(int hotDogId)
{
IEnumerable <HotDog> hotDogs =
from hotDogGroup in hotDogGroups
from hotDog in hotDogGroup.HotDogs
where hotDog.HotDogId == hotDogId
select hotDog;

return hotDogs.FirstOrDefault();
}

private static List<HotDogGroup> hotDogGroups = new List<HotDogGroup>()
{
new HotDogGroup()
{
HotDogGroupId = 1, Title = "Meat lovers", ImagePath = "", HotDogs = new List<HotDog>()
{
new HotDog()
{
HotDogId = 1,
Name = "Regular Hot Dog",
ShortDescription = "The best there is on this planet",
Description = "Manchego smelly cheese danish fontina. Hard cheese cow goat red leicester pecorino macaroni cheese cheesecake gouda. Ricotta fromage cheese and biscuits stinking bishop halloumi monterey jack cheese strings goat. Pecorino babybel pecorino jarlsberg cow say cheese cottage cheese.",
ImagePath = "hotdog1",
Available = true,
PrepTime= 10,
Ingredients = new List<string>(){"Regular bun", "Sausage", "Ketchup"},
Price = 8,
IsFavorite = true
},
new HotDog()
{
HotDogId = 2,
Name = "Haute Dog",
ShortDescription = "The classy one",
Description = "Bacon ipsum dolor amet turducken ham t-bone shankle boudin kevin. Hamburger salami pork shoulder pork chop. Flank doner turducken venison rump swine sausage salami sirloin kielbasa pork belly tail cow. Pork chop bacon ground round cupim tongue, venison frankfurter bresaola tri-tip andouille sirloin turducken spare ribs biltong. Drumstick ham hock pork tail, capicola shank frankfurter beef ribs jowl meatball turkey hamburger. Tenderloin swine ham pork belly beef ribeye. ",
ImagePath = "hotdog2",
Available = true,
PrepTime= 15,
Ingredients = new List<string>(){"Baked bun", "Gourmet sausage", "Fancy mustard from Germany"},
Price = 10,
IsFavorite = false
},
new HotDog()
{
HotDogId = 3,
Name = "Extra Long",
ShortDescription = "For when a regular one isn't enough",
Description = "Capicola short loin shoulder strip steak ribeye pork loin flank cupim doner pastrami. Doner short loin frankfurter ball tip pork belly, shank jowl brisket. Kielbasa prosciutto chuck, turducken brisket short ribs tail pork shankle ball tip. Pancetta jerky andouille chuck salami pastrami bacon pig tri-tip meatball tail bresaola shank short ribs strip steak. Ham hock frankfurter ball tip, biltong cow pastrami swine tenderloin ground round pork loin t-bone. ",
ImagePath = "hotdog3",
Available = true,
PrepTime= 10,
Ingredients = new List<string>(){"Extra long bun", "Extra long sausage", "More ketchup"},
Price = 8,
IsFavorite = true
}
}
},
new HotDogGroup()
{
HotDogGroupId = 2, Title = "Veggie lovers", ImagePath = "", HotDogs = new List<HotDog>()
{
new HotDog()
{
HotDogId = 4,
Name = "Veggie Hot Dog",
ShortDescription = "American for non-meat-lovers",
Description = "Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic.nnGumbo 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.",
ImagePath = "hotdog4",
Available = true,
PrepTime= 10,
Ingredients = new List<string>(){"Bun", "Vegetarian sausage", "Ketchup"},
Price = 8,
IsFavorite = false
},
new HotDog()
{
HotDogId = 5,
Name = "Haute Dog Veggie",
ShortDescription = "Classy and veggie",
Description = "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.",
ImagePath = "hotdog5",
Available = true,
PrepTime= 15,
Ingredients = new List<string>(){"Baked bun", "Gourmet vegetarian sausage", "Fancy mustard"},
Price = 10,
IsFavorite = true
},
new HotDog()
{
HotDogId = 6,
Name = "Extra Long Veggie",
ShortDescription = "For when a regular one isn't enough",
Description = "Beetroot water spinach okra water chestnut ricebean pea catsear courgette summer purslane. Water spinach arugula pea tatsoi aubergine spring onion bush tomato kale radicchio turnip chicory salsify pea sprouts fava bean. Dandelion zucchini burdock yarrow chickpea dandelion sorrel courgette turnip greens tigernut soybean radish artichoke wattle seed endive groundnut broccoli arugula.",
ImagePath = "hotdog6",
Available = true,
PrepTime= 10,
Ingredients = new List<string>(){"Extra long bun", "Extra long vegetarian sausage", "More ketchup"},
Price = 8,
IsFavorite = false
}
}
}
};
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.