Last active
January 15, 2020 16:29
-
-
Save IntegerMan/cac333344005d5cb2ddbbeba4ed510e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public PastaMeal BuildPastaMeal(IEnumerable<Guest> guests, | |
KitchenSupplies inventory, | |
DateTime timeOfDay, | |
IngredientPriceData pricingData) | |
{ | |
var dinner = new PastaMeal(); | |
// Add a quanity of pasta per guest based on time of day and kitchen supply quantities | |
// This algorithm will try to prefer cheaper types of pasta | |
return dinner; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment