private void AddListerDisplayItem(string shootingLocationName) { if (DataAccessAdapter.ReadShootingLocationByName(shootingLocationName, out ShootingLocation shootingLocation, out string errorMessage) == E_DBReturnCode.no_error) { // convert the location display item into an lister display Item var listerDisplayItem = ViewModelManager.ConvertToListerDisplayItem(DisplayItem, shootingLocation); // add the converted display item to the lister (so it is added in the list view of the window) _listerWindow.Controler.AllDisplayItems.Add(listerDisplayItem); }