public bool CheckBalanceAndTransactions(decimal balance, AccountTransactions transactions) { return(balance == transactions.Sum(x => x.Amount)); }