public MainWindowViewModel() { _detailsVm = new DetailsVm(); GetEmployeeCmd = new GetEmployeeCmd(this); SaveEmployeeCmd = new SaveEmployeeCmd(this); WindowsLoadCmd = new GetAllEmployeesCmd(this); _employeeService = new EmployeeServiceClient(); }
public Details() { InitializeComponent(); DataContext = new DetailsVm(); }