private void btnEdit_Click(object sender, RoutedEventArgs e)
        {
            TherapistModel tm = dgvTherapist.SelectedItem as TherapistModel;

            if (tm != null)
            {
                tm.IfEditDetails = true;
                TherapistDetails cd = new TherapistDetails(this, tm);
                cd.ShowDialog();
            }
            else
            {
                MessageBox.Show("No record selected!");
            }
        }
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            TherapistDetails td = new TherapistDetails(this);

            td.ShowDialog();
        }