public InsuranceInfo Map(InsuranceMutualFund insuranceMutualFund) { return Mapper<InsuranceMutualFund, InsuranceInfo>.Map(insuranceMutualFund) .With(imf => imf.MutualFundNumber, (insuranceInfo, mutualFundNumber) => insuranceInfo.MembershipNo = mutualFundNumber) .With(imf => imf.TaxNo, (insuranceInfo, taxNo) => insuranceInfo.TaxNumber= taxNo) .Exec(); }
public InsuranceInfo Map(InsuranceMutualFund insuranceMutualFund) { return(Mapper <InsuranceMutualFund, InsuranceInfo> .Map(insuranceMutualFund) .With(imf => imf.MutualFundNumber, (insuranceInfo, mutualFundNumber) => insuranceInfo.MembershipNo = mutualFundNumber) .With(imf => imf.TaxNo, (insuranceInfo, taxNo) => insuranceInfo.TaxNumber = taxNo) .Exec()); }