saveUserAnswersForTestId

abstract fun saveUserAnswersForTestId(    questionsList: List<MultiChoiceQuestion>,     answersMap: Map<MultiChoiceQuestion, IndexOfChosenOption>,     testDetailsId: String,     workBookId: String)

Used to save the answers selected by the user for the specified workbook of a specific test.

Parameters

questionsList

a list of all the questions in the workbook.

answersMap

a map tha contains the question and the answer selected by the user for each question.

testDetailsId

the id of the associated test.

workBookId

the id of the workbook for which the answers are to be saved.