예제 #1
0
        private void RaiseAddDialog()
        {
            _eventAggregator.GetEvent <EditEmployeeEvent>().Publish(0);

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

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