createUser

Creates a User. Must validate that the User does not exist and the data is valid. Must hash the password.

Return

The Result of the operation.

Parameters

partialUser
The PartialUser used for creating the User.
abstract suspend fun createUser(partialUser: PartialUser): Result<String>