private void Btn_Add_Click(object sender, RoutedEventArgs e)
 {
     EmployeeWindow empWindow = new EmployeeWindow();
     empWindow.ShowDialog();
     if (empWindow.DialogResult == true)
     {
         if (empWindow.Employee != null)
         {
             db.Employees.Add(empWindow.Employee);
             db.SaveChanges();
             ListEmployees();
         }
     }
 }
        private void Btn_Add_Click(object sender, RoutedEventArgs e)
        {
            EmployeeWindow empWindow = new EmployeeWindow();

            empWindow.ShowDialog();
            if (empWindow.DialogResult == true)
            {
                if (empWindow.Employee != null)
                {
                    db.Employees.Add(empWindow.Employee);
                    db.SaveChanges();
                    ListEmployees();
                }
            }
        }