save User Answers For Test Id
abstract fun saveUserAnswersForTestId( questionsList: List<MultiChoiceQuestion>, answersMap: Map<MultiChoiceQuestion, IndexOfChosenOption>, testDetailsId: String, workBookId: String)
Content copied to clipboard
Used to save the answers selected by the user for the specified workbook of a specific test.
Parameters
questions List
a list of all the questions in the workbook.
answers Map
a map tha contains the question and the answer selected by the user for each question.
test Details Id
the id of the associated test.
work Book Id
the id of the workbook for which the answers are to be saved.