/// <summary> /// The Account balance is the sum of all Ledger amounts. /// </summary> public static decimal Balance(this Account.LedgersRole ledgers) { return(ledgers.Sum(e => e.Amount)); }