Skip to content

Instantly share code, notes, and snippets.

@aqua30
Created August 22, 2022 08:46
Show Gist options
  • Save aqua30/ccc7416d61f856a9b126c0ecd43d8b99 to your computer and use it in GitHub Desktop.
Save aqua30/ccc7416d61f856a9b126c0ecd43d8b99 to your computer and use it in GitHub Desktop.
interface UserRepository {
suspend fun getAllUsers(): ApiResponse<List<User>>
suspend fun getUserById(id: Int): ApiResponse<User>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment