Esempio n. 1
0
        private void RaiseAddDialog()
        {
            _eventAggregator.GetEvent <EditEmployeeEvent>().Publish(0);

            EmployeeNotificationRequest.Raise(new EditNotification()
            {
                Title = "Add Employee"
            });
        }
Esempio n. 2
0
        private void RaiseEdiDialog()
        {
            _eventAggregator.GetEvent <EditEmployeeEvent>().Publish(SelectedEmployee?.Id ?? 0);

            EmployeeNotificationRequest.Raise(new EditNotification()
            {
                Title = "Edit Employee"
            });
        }