static void Main(string[] args) { while (true) { try { var entry = Console.ReadLine().ToLower(); var shopInput = new ShopInputModel(entry); var shop = new Shop(shopInput.TimeOfDay); var dishes = shop.GetDishes(shopInput.Entries); shopInput.Display(dishes); } catch (ShopException ex) { Console.WriteLine(ex.Message); } } }
public ShopNightTest() { this.Shop = new Shop(new Night()); }