Last active
December 28, 2019 05:59
-
-
Save lagoJin/d11d740f71a5fe2dead4333193f86f94 to your computer and use it in GitHub Desktop.
This file contains 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 GithubRepositoryImpl constructor( | |
private val githubService: GithubService, | |
private val githubMapper: GithubMapper | |
) : GithubRepository { | |
override suspend fun getGithubs( | |
userId: String, | |
page: Int, | |
perPage: Int | |
): List<DomainEntityGithub> { | |
return githubMapper.mapFromEntity( | |
githubService.getSearchUsers(userId, page, perPage) | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment