public static HouseVm GetHouseUnit()
        {
            HouseVm houseVm = new HouseVm()
            {
                PriceRange     = new MeasureBoundaryVm <decimal, MoneyType>(),
                LivingSpace    = new MeasureBoundaryVm <int, LivingSpaceMeasure>(),
                Deposit        = new MeasureBoundaryVm <decimal, MoneyType>(),
                ApplicationFee = new MeasureBoundaryVm <decimal, MoneyType>(),
                PetDeposit     = new MeasureBoundaryVm <decimal, MoneyType>(),
                AvailableBedroomsFromQuantity  = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBedrooms().ToSelectListItemList(),
                AvailableBedroomsToQuantity    = houseVm.AvailableBedroomsFromQuantity,
                AvailableBathroomsFromQuantity = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBathrooms().ToSelectListItemList(),
                AvailableBathroomsToQuantity   = houseVm.AvailableBathroomsFromQuantity,
                CustomAmenities = new List <AmenityVm>()
                {
                    new AmenityVm()
                },
                DefaultAmenities = AmenityBc.Instance.GetDefaultAmenities(CommunityUnitType.House).ConvertAll <CheckBoxVm>((Amenity m) => new CheckBoxVm()
                {
                    Value = m.ClassId.ToString(),
                    Text  = m.Name
                }),
                Images  = new ImageListVm(DisplayHelpers.GetDisplayNameForCommunityUnitImages(CommunityUnitType.House)),
                Address = AdminViewModelsProvider.GetAddressVm()
            };

            return(houseVm);
        }
        public static SpecHomeVm GetCommunityUnit(CommunityUnitType communityUnitType)
        {
            SpecHomeVm obj = new SpecHomeVm
            {
                PriceRange     = new MeasureBoundaryVm <decimal, MoneyType>(),
                LivingSpace    = new MeasureBoundaryVm <int, LivingSpaceMeasure>(),
                Deposit        = new MeasureBoundaryVm <decimal, MoneyType>(),
                ApplicationFee = new MeasureBoundaryVm <decimal, MoneyType>(),
                PetDeposit     = new MeasureBoundaryVm <decimal, MoneyType>(),
                AvailableBedroomsFromQuantity = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBedrooms().ToSelectListItemList()
            };

            obj.AvailableBedroomsToQuantity    = obj.AvailableBedroomsFromQuantity;
            obj.AvailableBathroomsFromQuantity = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBathrooms().ToSelectListItemList();
            obj.AvailableBathroomsToQuantity   = obj.AvailableBathroomsFromQuantity;
            obj.CustomAmenities = new List <AmenityVm>
            {
                new AmenityVm()
            };
            obj.DefaultAmenities = AmenityBc.Instance.GetDefaultAmenities(communityUnitType).ConvertAll((Amenity m) => new CheckBoxVm
            {
                Value = m.ClassId.ToString(),
                Text  = m.Name
            });
            obj.Images = new ImageListVm(DisplayHelpers.GetDisplayNameForCommunityUnitImages(communityUnitType));
            return(obj);
        }