public ActionResult Create(Client client)
 {
     try
     {
         bool result;
         bool test;
         client.IDSpecified = true;
         ZzaService.ZzaService sv = new ZzaService.ZzaService();
         sv.CreateClient(client, out result, out test);
         return RedirectToAction("Index");
     }
     catch (Exception)
     {
         return null;
     }
 }
        public ActionResult Edit(int id, Client client)
        {
            try
            {
                bool result;
                bool test;
                ZzaService.ZzaService sv = new ZzaService.ZzaService();
                client.IDSpecified = true;

                sv.UpdateClientInformation(client, out result, out test);

                return RedirectToAction("Index");
            }
            catch (Exception)
            {
                return null;
            }
        }
 /// <remarks/>
 public void CreateClientAsync(Client obj, object userState) {
     if ((this.CreateClientOperationCompleted == null)) {
         this.CreateClientOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateClientOperationCompleted);
     }
     this.InvokeAsync("CreateClient", new object[] {
                 obj}, this.CreateClientOperationCompleted, userState);
 }
 /// <remarks/>
 public void CreateClientAsync(Client obj) {
     this.CreateClientAsync(obj, null);
 }
 /// <remarks/>
 public void UpdateClientInformationAsync(Client obj, object userState) {
     if ((this.UpdateClientInformationOperationCompleted == null)) {
         this.UpdateClientInformationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateClientInformationOperationCompleted);
     }
     this.InvokeAsync("UpdateClientInformation", new object[] {
                 obj}, this.UpdateClientInformationOperationCompleted, userState);
 }
 /// <remarks/>
 public void UpdateClientInformationAsync(Client obj) {
     this.UpdateClientInformationAsync(obj, null);
 }