private static void Process(string input) { switch (input) { case "get recipes": _view.ShowRecipes(_kitchen.GetAvailableRecipes()); break; case "get ingredients": _view.ShowIngredients(_kitchen.GetAvailableIngredients()); break; case "get delivery": _kitchen.GetDelivery(); _view.AcceptDelivery(); break; case "calculate": _view.ShowRecipesAbleToCreate(_kitchen.CalculateRecipesFromAvailableIngredients()); break; case "get order": _view.ShowOrder(_kitchen.GetOrder()); break; case "cook order": _view.ShowCookedOrder(_kitchen.CookCurrentOrder()); break; case "get omelettes cooked": _view.ShowOmelettesCooked(_kitchen.GetOmelettesCooked()); break; case "close": _kitchenIsOpen = false; break; } }