saveDocument

abstract suspend fun saveDocument(document: Document, userId: String)

Saves the whole document