public void GetData()
 {
     if (DesignerProperties.GetIsInDesignMode(new System.Windows.DependencyObject()))
     {
         return;
     }
     Employee = GlobalDataAccess.GetEmployees(EmployeeId).FirstOrDefault();
 }
Пример #2
0
 public void LoadEmployees()
 {
     if (DesignerProperties.GetIsInDesignMode(new System.Windows.DependencyObject()))
     {
         return;
     }
     Employees = new ObservableCollection <Employee>(GlobalDataAccess.GetEmployees());
 }