private async Task DeleteIndividualAsync()
        {
            _informationPublisher.Publish(InformationEntry.CreateInfo($"Deleting Individual {_context.SelectedIndividual.FormattedName}..", true));
            await _overviewService.DeleteIndividualAsync(_context.SelectedIndividual.Id);

            _context.Individuals.Remove(_context.SelectedIndividual);
            _informationPublisher.Publish(InformationEntry.CreateSuccess("Individual deleted", false, 5));
        }
        public async Task StartAppAsync(WpfAppConfiguration config, Action <IServiceLocator> afterInitializedCallback)
        {
            _exceptionInitializationService.HookGlobalExceptions();
            _viewModelMappingInitService.Initialize(config.WpfAssembly);
            await _viewModelContainer.InitializeAsync();

            _infoPublisher.Publish(InformationEntry.CreateInfo("Here could be your text..", false));

            afterInitializedCallback?.Invoke(_serviceLocator);

            ShowApp(config);
        }
        public void CreatingInfo_CreatesInfoEntry_WithPassedParameters()
        {
            // Arrange
            const bool   ShowBusy = true;
            const string Message  = "Hello";
            const int    DisplayLengthInSeconds = 4;

            // Act
            var actualInfoEntry = InformationEntry.CreateInfo(Message, ShowBusy, DisplayLengthInSeconds);

            // Assert
            Assert.AreEqual(ShowBusy, actualInfoEntry.ShowBusy);
            Assert.AreEqual(Message, actualInfoEntry.Message);
            Assert.AreEqual(DisplayLengthInSeconds, actualInfoEntry.DisplayLengthInSeconds);
            Assert.AreEqual(InformationEntryType.Info, actualInfoEntry.EntryType);
        }