Esempio n. 1
0
 private void OnEdit(uint?id)
 {
     _navigator.Edit();
     _eventAggregator.GetEvent <DataEvents.EditEvent>().Publish(new EditModel(id.Value, EditModeEnum.EditEmployee));
 }
Esempio n. 2
0
        private void OnEdit()
        {
            _navigator.Edit();

            //_eventAggregator.GetEvent<DataEvents.EditEvent>().Publish(new EditModel(_bodyguard.ID, EditModeEnum.EditEmployee));
        }
Esempio n. 3
0
        private void OnCreateEmployee()
        {
            _navigator.Edit();

            _eventAggregator.GetEvent <DataEvents.EditEvent>().Publish(new EditModel(EditModeEnum.NewEmployee));
        }