InsertOrUpdateSkillsUseCase

class InsertOrUpdateSkillsUseCase @Inject constructor(localRepository: LocalRepository)

to insert or update the list of Skill instance.

Parameters

localRepository

repository that operated for local database.

Constructors

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

Functions

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

Properties

Link copied to clipboard
private val localRepository: LocalRepository