public static Collateral HandleCreate(Asset asset, PartyRole customerPartyRole)
        {
            //throw new NotImplementedException();
            var vehicle = new VehicleCollateral();
            Vehicle va = asset.Vehicle;
            vehicle.VehicleTypeId = va.VehicleTypeId;
            vehicle.Brand = va.Brand;
            vehicle.Model = va.Model;
            vehicle.AcquisitionCost = asset.AcquisitionCost ?? 0;

            return vehicle;
        }
        public void Fill(VehicleCollateral collateral)
        {
            this.txtCollateralDesc.Text = collateral.Description;

            this.chkIsMortgaged.Checked = collateral.IsPropertyMortgage;
            this.hiddenMortgageeId.Value = collateral.MortgageeId;
            this.txtMortgageeName.Text = collateral.Mortgagee;
            this.txtMortgageeName.AllowBlank = !this.chkIsMortgaged.Checked;
            this.nfAcquisitionCost.Number = (double)collateral.AcquisitionCost;
            this.cmbVehicleType.SetValueAndFireSelect(collateral.VehicleTypeId);
            this.txtBrandName.Text = collateral.Brand;
            this.txtModel.Text = collateral.Model;

            StorePropertyOwner.DataSource = collateral.AvailablePropertyOwners;
            StorePropertyOwner.DataBind();
        }