private bool Validate() { Log.Debug($"Rate: {Rate}, SourceCurrency: {SourceCurrency}, TargetCurrency: {TargetCurrency}"); ErrorMessages.Clear(); Validator.AddExchangeRate(ErrorMessages, Rate); Validator.AddExchangeRateSourceCurrency(ErrorMessages, SourceCurrency); Validator.AddExchangeRateTargetCurrency(ErrorMessages, TargetCurrency); Validator.AddExchangeRateCurrency(ErrorMessages, SourceCurrency, TargetCurrency); return(ErrorMessages.Count == 0); }