Added accountUpdated() to persist updated account
This commit is contained in:
parent
ec61aec0f7
commit
ba1b0a27f0
|
@ -365,6 +365,10 @@ open class BankingPresenter(
|
|||
}
|
||||
|
||||
|
||||
open fun accountUpdated(account: Customer) {
|
||||
persistAccount(account)
|
||||
}
|
||||
|
||||
protected open fun persistAccount(customer: Customer) {
|
||||
persister.saveOrUpdateAccount(customer, customers)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue