Last active
November 17, 2020 16:54
-
-
Save DenisBronx/5b39fce83001311ea63b503786aeb7be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FPGetTransactionUseCaseFactory( | |
private val userRepository: UserRepository, | |
private val transactionRepository: TransactionRepository | |
) { | |
fun makeGetTransactionsUseCase(): GetTransactionsUseCase { | |
return { | |
getTransactions( | |
userRepository::getUser, | |
transactionRepository | |
) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment