New view for new MStest scenaroio
This commit is contained in:
@ -6,10 +6,6 @@ namespace BrokerageLib {
|
||||
|
||||
|
||||
public decimal DetermineVariableRate(int unitsSold, decimal unitPrice) {
|
||||
|
||||
// Sales representative gets top commission rate
|
||||
// if they sell over the sales threshold amount
|
||||
// or if they sell more than the max unit threshold
|
||||
if (unitsSold < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("UnitsSold cannot be less than zero.");
|
||||
@ -27,7 +23,6 @@ namespace BrokerageLib {
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
return grossSale * Constants.CommissionRate.Standard;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user