public decimal CalculateGains(MarketPrice marketPrice, EmployeeBonus employeeBonus, int soldUnits)
        {
            if (employeeBonus != null)
            {
                return(CalculatePrice(marketPrice, GetMultiplier(employeeBonus, marketPrice), NumberOfUnits - soldUnits));
            }

            return(CalculatePrice(marketPrice, 1.00M, NumberOfUnits - soldUnits));
        }
 private decimal GetMultiplier(EmployeeBonus employeeBonus, MarketPrice marketPrice)
 {
     return(employeeBonus.BonusDate > VestDate && employeeBonus.BonusDate <= marketPrice.MarketPriceDate ? employeeBonus.Multiplier : 1.00M);
 }