Esempio n. 1
0
        //[TestMethod]
        public void UpdatingDish()
        {
            SqlConnectionBuilder CB = new SqlConnectionBuilder("(localdb)\\V11.0", "PizzaWaiter", "", "");
            Assert.IsTrue(CB.CheckConnection());

            IPizzaWaiterTestService proxy = new PizzaWaiterTestServiceClient("WSHttpBinding_IPizzaWaiterTestService");

            int id = 8;
            string name = "helloworld";
            int number = 2345;
            decimal price = 234511623;
            int restaurantMenuID = 1;
            bool response = proxy.UpdateDish(id, name, price, number, restaurantMenuID);
            Assert.IsTrue(response);
        }