Exemplo n.º 1
0
        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {
            Property property = (Property)dgViewAllData.SelectedItem;

            if (propertyBL.DeletePropertyBL(property.PropertyId))
            {
                MessageBox.Show("Property deleted successfully...");
            }
            else
            {
                MessageBox.Show("Failed to delete");
            }
        }