This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
2022-07-04 19:44:10 -04:00

11 lines
318 B
Kotlin

package com.wyattjmiller.repositories
import com.wyattjmiller.entities.User
import com.wyattjmiller.entities.UserDraft
interface UserRepository {
fun getUser(id: Int) : User?
fun createUser(user: UserDraft) : User
fun updateUser(id: Int, user: UserDraft) : Boolean
fun deleteUser(id: Int) : Boolean
}