Last active
May 7, 2024 13:12
-
-
Save MkhytarMkhoian/c90aef15a070bf2f8bdf690718b37df3 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 UserRemoteDataSource( | |
| private val userApi: UserApi, | |
| ) { | |
| suspend fun getUsers(): List<UserDTO> = userApi.getUsers() | |
| } | |
| interface UserApi { | |
| suspend fun getUsers(): List<UserDTO> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment