/// <summary>
        ///     Returns true if AccountDetailsViewModel instances are equal
        /// </summary>
        /// <param name="other">Instance of AccountDetailsViewModel to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(AccountDetailsViewModel other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AccountId == other.AccountId ||
                     AccountId != null &&
                     AccountId.Equals(other.AccountId)
                     ) &&
                 (
                     BankId == other.BankId ||
                     BankId != null &&
                     BankId.Equals(other.BankId)
                 ) &&
                 (
                     AccountNumber == other.AccountNumber ||
                     AccountNumber != null &&
                     AccountNumber.Equals(other.AccountNumber)
                 ) &&
                 (
                     SortCode == other.SortCode ||
                     SortCode != null &&
                     SortCode.Equals(other.SortCode)
                 ) &&
                 (
                     AccountName == other.AccountName ||
                     AccountName != null &&
                     AccountName.Equals(other.AccountName)
                 ) &&
                 (
                     CurrentBalance == other.CurrentBalance ||
                     CurrentBalance != null &&
                     CurrentBalance.Equals(other.CurrentBalance)
                 ) &&
                 (
                     OverdraftLimit == other.OverdraftLimit ||
                     OverdraftLimit != null &&
                     OverdraftLimit.Equals(other.OverdraftLimit)
                 ));
        }
        /// <summary>
        /// Returns true if BankingDepositBalance instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingDepositBalance to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingDepositBalance other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     CurrentBalance == other.CurrentBalance ||
                     CurrentBalance != null &&
                     CurrentBalance.Equals(other.CurrentBalance)
                     ) &&
                 (
                     AvailableBalance == other.AvailableBalance ||
                     AvailableBalance != null &&
                     AvailableBalance.Equals(other.AvailableBalance)
                 ));
        }