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

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

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