Skip to content

Instantly share code, notes, and snippets.

@aqua30
Created September 3, 2022 12:23
Show Gist options
  • Save aqua30/f70e831ab4b383572bb7c7b8b7db4cc0 to your computer and use it in GitHub Desktop.
Save aqua30/f70e831ab4b383572bb7c7b8b7db4cc0 to your computer and use it in GitHub Desktop.
interface DBManager {
fun addUser(user: User): User
fun getAllUsers(): List<User>
fun getById(id: Int): User?
fun delete(id: Int): Boolean
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment