InsertOrUpdateProjectsUseCase

class InsertOrUpdateProjectsUseCase @Inject constructor(localRepository: LocalRepository)

to insert or update the list of Project instance.

Parameters

localRepository

repository that operated for local database.

Constructors

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

Functions

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

Properties

Link copied to clipboard
private val localRepository: LocalRepository