Exemple #1
0
        public void DefaultValues()
        {
            _repo    = new IngredientsRepo();
            _content = new IngredientsContent("Carrot");

            _repo.AddIngredient(_content);
        }
Exemple #2
0
        public void DefaultValues()
        {
            _repo     = new CafeRepo();
            _iRepo    = new IngredientsRepo();
            _iContent = new IngredientsContent("bread");

            _listOfIngredients.Add(_iContent);
            _content = new CafeContent(1, "Grilled Cheese", "Melted cheese between two pieces of sourdough.", _listOfIngredients, 5.99);

            _repo.AddMenuItem(_content);
        }