public static VehicleCharacteristics FromDtoToDomainObject(VehicleCharacteristicsDto source)
        {
            VehicleCharacteristics target = new VehicleCharacteristics();

            target.Id = source.Id;
            target.GeneralVehicleInfo = source.GeneralVehicleInfo;
            target.Vin      = source.Vin;
            target.Language = source.Language;
            foreach (VehicleCharacteristicsItemsGroupDto group in source.ItemGroups)
            {
                target.ItemsGroups.Add(VehicleItemsGroupAssembler.
                                       FromDtoToDomainObject(group));
            }
            return(target);
        }
        public static VehicleCharacteristicsEntity FromDomainObjectToEntity(
            VehicleCharacteristics source)
        {
            VehicleCharacteristicsEntity target = new VehicleCharacteristicsEntity();

            target.Id = source.Id;
            target.GeneralVehicleInfo = source.GeneralVehicleInfo;
            target.Vin      = source.Vin;
            target.Language = source.Language;
            foreach (VehicleCharacteristicsItemsGroup group in
                     source.ItemsGroups)
            {
                target.VehicleCharacteristicsItemGroup.Add(
                    VehicleItemsGroupAssembler.FromDomainObjectToEntity(group));
            }
            return(target);
        }