public double?TotalInterest() { if (_totalInterest == null) { _totalInterest = CalculateInterest.Calculate(Wallets); } return(_totalInterest); }
public double?TotalInterest() { if (_totalInterest == null) { _totalInterest = CalculateInterest.Calculate(InterestRate(), _balance); } return(_totalInterest); }