Exemplo n.º 1
0
        public ActionResult useWS()
        {
            Client toto = null;

            using (ServiceIttaClient proxy = new ServiceIttaClient())
            {
                toto = proxy.getPartenaire(new Client()
                {
                    Nom = "gertrud"
                });
            }

            return(View(toto));
        }
Exemplo n.º 2
0
        public ActionResult Autre()
        {
            Client pierre = null;

            using (ServiceIttaClient proxy = new ServiceIttaClient())
            {
                pierre = proxy.getPartenaire(new Client()
                {
                    Nom = "pier"
                });
            }

            return(View(pierre));
        }