Exemple #1
0
        private void RemoveFromAddButon_Click(object sender, RoutedEventArgs e)
        {
            MemberServices update = new MemberServices();
            int            i      = update.RemoveFromPhotographer(removeId);

            addedListDataGrid.ItemsSource = update.SearchPhotogrpaherhData();
        }
Exemple #2
0
        private void AddToListButton_Click(object sender, RoutedEventArgs e)
        {
            MemberServices ms = new MemberServices();
            int            a  = ms.AddtoPhotographer(searchId, searchName, searchConatact, searchEmail, searchDemand);

            if (a == 1)
            {
                addedListDataGrid.ItemsSource = ms.SearchPhotogrpaherhData();
            }
        }