internal static FloorPlanVm MapToFloorPlanVm(this FloorPlan floorPlan) { FloorPlanVm floorPlanQuickViewVm = floorPlan.MapToFloorPlanQuickViewVm(new FloorPlanVm()) as FloorPlanVm; if (floorPlanQuickViewVm != null) { floorPlanQuickViewVm.Deposit = floorPlan.Deposit.PriceCaption(); floorPlanQuickViewVm.ApplicationFee = floorPlan.ApplicationFee.PriceCaption(); floorPlanQuickViewVm.PetDeposit = floorPlan.PetDeposit.PriceCaption(); floorPlanQuickViewVm.Amenities = floorPlan.Amenities; } return(floorPlanQuickViewVm); }
internal static FloorPlanQuickViewVm MapToFloorPlanQuickViewVm(this FloorPlan floorPlan) { return(floorPlan.MapToFloorPlanQuickViewVm(null)); }