public override decimal CalculateInterest(IInterestProvider provider, int months) { if (this.Balance < Deposit.InterestThreshold) { return(0); } return(base.CalculateInterest(provider, months)); }
public virtual decimal CalculateInterest(IInterestProvider provider, int months) { return(provider.CalculateInterest(this.MonthlyInterestRate, months)); }