public int GenerateAccontTransactionId() { if (AccountTransactions.Count > 0) { return(AccountTransactions.Max(c => c.AccountTransactionId) + 1); } return(1); }
public int GenerateAccontTransactionId() { if (AccountTransactions.Count > 0) { return(AccountTransactions.Max(c => c.AccountTransactionId) + 1); } return(1); }