InsertOrUpdateWorksUseCase

class InsertOrUpdateWorksUseCase @Inject constructor(localRepository: LocalRepository)

to insert or update the list of Work instance.

Parameters

localRepository

repository that operated for local database.

Constructors

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

Functions

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

Properties

Link copied to clipboard
private val localRepository: LocalRepository