Created
September 3, 2022 12:23
-
-
Save aqua30/f70e831ab4b383572bb7c7b8b7db4cc0 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
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