ExamerMarkTestAsCompletedUseCase

class ExamerMarkTestAsCompletedUseCase(authenticationService: AuthenticationService, repository: Repository) : MarkTestAsCompletedUseCase

A concrete implementation of MarkTestAsCompletedUseCase.

Parameters

authenticationService

an instance of AuthenticationService that will be used to get the AuthenticationService.currentUser.

repository

an instance of Repository that will be used to mark the test as complete.

Constructors

Link copied to clipboard
fun ExamerMarkTestAsCompletedUseCase(authenticationService: AuthenticationService, repository: Repository)

Functions

Link copied to clipboard
open suspend override fun invoke(testDetailsId: String)