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