private void OnEdit(uint?id) { _navigator.Edit(); _eventAggregator.GetEvent <DataEvents.EditEvent>().Publish(new EditModel(id.Value, EditModeEnum.EditEmployee)); }
private void OnEdit() { _navigator.Edit(); //_eventAggregator.GetEvent<DataEvents.EditEvent>().Publish(new EditModel(_bodyguard.ID, EditModeEnum.EditEmployee)); }
private void OnCreateEmployee() { _navigator.Edit(); _eventAggregator.GetEvent <DataEvents.EditEvent>().Publish(new EditModel(EditModeEnum.NewEmployee)); }