public MainWindowViewModel()
        {
            _detailsVm = new DetailsVm();
            GetEmployeeCmd = new GetEmployeeCmd(this);
            SaveEmployeeCmd = new SaveEmployeeCmd(this);
            WindowsLoadCmd = new GetAllEmployeesCmd(this);

            _employeeService = new EmployeeServiceClient();

        }
Beispiel #2
0
 public Details()
 {
     InitializeComponent();
     DataContext = new DetailsVm();
 }