private void UpList()
 {
     if (MusteriList.IndexOf(SelecItem) != 0 && MusteriList.IndexOf(SelecItem) != -1)
     {
         var Index = MusteriList.IndexOf(SelecItem);
         var temp  = MusteriList[Index];
         MusteriList[Index]     = MusteriList[Index - 1];
         MusteriList[Index - 1] = temp;
         SelecItem = MusteriList[Index - 1];
     }
 }
        private void DownList()


        {
            if (MusteriList.IndexOf(selecItem) != MusteriList.Count - 1 && MusteriList.IndexOf(SelecItem) != -1)
            {
                var Index = MusteriList.IndexOf(SelecItem);
                var temp  = MusteriList[Index];
                MusteriList[Index]     = MusteriList[Index + 1];
                MusteriList[Index + 1] = temp;
                SelecItem = MusteriList[Index + 1];
            }
        }
        private void AddCustomerViewModelSaved(object sender, EventArgs e)
        {
            window.Close();

            MusteriList.Add((MusteriModel)sender);
        }
 private void DeletePersonel()
 {
     resimProvider.resimSil(SelecItem.KisiId);
     musteriProvaider.musteriSil(selecItem);
     MusteriList.Remove(selecItem);
 }