InsertOrUpdateEducationsUseCase

class InsertOrUpdateEducationsUseCase @Inject constructor(localRepository: LocalRepository)

to insert or update the list of Education instance.

Parameters

localRepository

repository that operated for local database.

Constructors

Link copied to clipboard
@Inject
fun InsertOrUpdateEducationsUseCase(localRepository: LocalRepository)

Functions

Link copied to clipboard
suspend operator fun invoke(resumeId: Int, educations: List<Education>): Int?

Properties

Link copied to clipboard
private val localRepository: LocalRepository