Esempio n. 1
0
        protected void PersonsGrid_DeleteCommand(object sender, GridCommandEventArgs e)
        {
            int id = int.Parse((e.Item as GridEditableItem).GetDataKeyValue("Id").ToString());

            serviceClient.DeletePerson(id);
            persons = serviceClient.GetPersons();
        }
 public void DeletePerson(string lastName)
 {
     proxy.DeletePerson(lastName);
 }
 public void DeletePerson(string lastName)
 {
     serviceProxy.DeletePerson(lastName);
 }
 public void DeleteItem(string key)
 {
     proxy.DeletePerson(key);
 }