diff --git a/BeWo/ViewModel/ListViewModel/AbstractDCListMapperVM.cs b/BeWo/ViewModel/ListViewModel/AbstractDCListMapperVM.cs index 0acacaf86..9e6ab8e9e 100644 --- a/BeWo/ViewModel/ListViewModel/AbstractDCListMapperVM.cs +++ b/BeWo/ViewModel/ListViewModel/AbstractDCListMapperVM.cs @@ -138,7 +138,6 @@ namespace BeWo.ViewModel.ListViewModel #endregion - #region Public Methods public VMType AddNewVMToList() { @@ -199,9 +198,6 @@ namespace BeWo.ViewModel.ListViewModel return this._DCBackup.Where(dc => !this._VMList.Select(vm => vm.DataContract).Contains(dc)).ToList(); } - #endregion - - #region Methods protected virtual VMType CreateVM(DCType pDC) { @@ -209,7 +205,5 @@ namespace BeWo.ViewModel.ListViewModel return lConstr.Invoke(new object[] { pDC }) as VMType; } - - #endregion } } \ No newline at end of file diff --git a/Service/DCEntityMapper/WohneinheitBelegungDC_WohneinheitBelegung.cs b/Service/DCEntityMapper/WohneinheitBelegungDC_WohneinheitBelegung.cs index 1ca89d47b..ec24b5937 100644 --- a/Service/DCEntityMapper/WohneinheitBelegungDC_WohneinheitBelegung.cs +++ b/Service/DCEntityMapper/WohneinheitBelegungDC_WohneinheitBelegung.cs @@ -14,7 +14,6 @@ namespace BeWo.Service.DCEntityMapper public override WohneinheitBelegungDC MergeWithDC(WohneinheitBelegung pEntity, WohneinheitBelegungDC pDataContract) { pDataContract.Customer = MapperFactory.CustomerDC_Customer.MapToNewDC(pEntity.Customer); - pDataContract.Wohneinheit = pEntity.Wohneinheit.Oid.Value; pDataContract.Oid = pEntity.Oid;