Пример #1
0
        //////////////////////////////////////////////////////////////////////////
        public void CreatePizza(string name, string size, int price)
        {
            var newPizza = new PizzaRepository(new PizzaPlaceDBContext());

            newPizza.AddPizzas(name, size, price);
            newPizza.SaveChanges();
        }