public static NewCommunityVm GetNewCommunityVm() { NewCommunityVm newCommunityVm = new NewCommunityVm() { Books = AccountBc.Instance.GetBooks().ToSelectListItemList(), ListingTypes = ConverterHelpers.EnumToCheckBoxList <ListingType>(), SeniorHousingAndCareCategories = ConverterHelpers.DictionaryToCheckBoxList(MSLivingChoices.Bcs.Admin.Components.ItemTypeBc.Instance.GetSHCCategoriesForCommunity()), AgeRestrictions = ConverterHelpers.EnumToCheckBoxList <AgeRestriction>(), Address = AdminViewModelsProvider.GetAddressVm(), PhoneList = AdminViewModelsProvider.GetPhoneList(CommunityType.Community) }; newCommunityVm.PhoneList.AdditionalPhones.ForEach((PhoneVm ph) => ph.PhoneTypes.RemoveAll((SelectListItem pt) => pt.get_Text().Contains("Provision"))); newCommunityVm.EmailList = AdminViewModelsProvider.GetEmailListVm(CommunityType.Community); newCommunityVm.Contacts = new List <ContactVm>() { AdminViewModelsProvider.GetContactVm(CommunityType.Community) }; newCommunityVm.OfficeHours = new List <OfficeHoursVm>() { AdminViewModelsProvider.GetOfficeHoursVm() }; newCommunityVm.CommunityDetails = AdminViewModelsProvider.GetCommunityDetailsVm(); newCommunityVm.ListingDetails = AdminViewModelsProvider.GetListingDetailsVm(); return(newCommunityVm); }