public decimal ActualCost()
 {
     return(BillAmount - _discount.Calculate(this) + _extraCharge.Calculate(this));
 }
Esempio n. 2
0
 public decimal ActualCost()
 {
     return((BillAmount - discount.Calculate(this))
            + extracharge.Calculate(this));
 }