Exemplo n.º 1
0
        private void DeleteEmployer()
        {
            _employerFacade.Delete(Employer);

            EventAggregator.PublishOnUIThread(new EmployerSuccessfullyDeletedMessage(Employer));
            OnDeletedEmployer?.Invoke(this, EventArgs.Empty);
        }
Exemplo n.º 2
0
        private void DeleteEmployer()
        {
            _employerFacade.Delete(Employer);

            EmployerDeletionHandler handler = OnDeletedEmployer;

            if (handler != null)
            {
                handler(this, EventArgs.Empty);
            }
        }