private void DeleteEmployer() { _employerFacade.Delete(Employer); EventAggregator.PublishOnUIThread(new EmployerSuccessfullyDeletedMessage(Employer)); OnDeletedEmployer?.Invoke(this, EventArgs.Empty); }
private void DeleteEmployer() { _employerFacade.Delete(Employer); EmployerDeletionHandler handler = OnDeletedEmployer; if (handler != null) { handler(this, EventArgs.Empty); } }