public static CommunityDetailsVm GetCommunityDetailsVm() { CommunityDetailsVm communityDetailsVm = new CommunityDetailsVm() { PaymentTypes = ConverterHelpers.DictionaryToCheckBoxList(MSLivingChoices.Bcs.Admin.Components.ItemTypeBc.Instance.GetPaymentTypes()), PriceRange = new MeasureBoundaryVm <decimal, MoneyType>(), Deposit = new MeasureBoundaryVm <decimal, MoneyType>(), ApplicationFee = new MeasureBoundaryVm <decimal, MoneyType>(), PetDeposit = new MeasureBoundaryVm <decimal, MoneyType>(), LivingSpace = new MeasureBoundaryVm <int, LivingSpaceMeasure>(), AvailableBedroomsFromQuantity = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBedrooms().ToSelectListItemList(), AvailableBedroomsToQuantity = communityDetailsVm.AvailableBedroomsFromQuantity, AvailableBathroomsFromQuantity = MSLivingChoices.Bcs.Components.ItemTypeBc.Instance.GetBathrooms().ToSelectListItemList(), AvailableBathroomsToQuantity = communityDetailsVm.AvailableBathroomsFromQuantity, DefaultAmenities = AmenityBc.Instance.GetDefaultAmenities(CommunityType.Community).ConvertAll <CheckBoxVm>((Amenity m) => new CheckBoxVm() { Value = m.ClassId.ToString(), Text = m.Name }), CustomAmenities = new List <AmenityVm>() { new AmenityVm() }, DefaultCommunityServices = CommunityServiceBc.Instance.GetDefaultCommunityServices().ConvertAll <CheckBoxVm>((CommunityService m) => new CheckBoxVm() { Value = m.AdditionInfoTypeId.ToString(), Text = m.Name }), CustomCommunityServices = new List <CommunityServiceVm>() { new CommunityServiceVm(), new CommunityServiceVm() } }; communityDetailsVm.CustomCommunityServices = new List <CommunityServiceVm>() { new CommunityServiceVm() }; communityDetailsVm.Coupon = new CouponVm(); communityDetailsVm.FloorPlans = new List <FloorPlanVm>() { AdminViewModelsProvider.GetCommunityUnit(CommunityUnitType.FloorPlan) }; communityDetailsVm.SpecHomes = new List <SpecHomeVm>() { AdminViewModelsProvider.GetCommunityUnit(CommunityUnitType.SpecHome) }; communityDetailsVm.Houses = new List <HouseVm>() { AdminViewModelsProvider.GetHouseUnit() }; communityDetailsVm.Images = new ImageListVm(DisplayNames.CommunityImages); communityDetailsVm.LogoImages = new ImageListVm(DisplayNames.CommunityLogo); return(communityDetailsVm); }