Function backend::service::users::create

source ·
pub async fn create(
    user_id: Uuid,
    user_data: UsersDto,
    pool: &SharedPool,
) -> Result<UsersDto, ServiceError>
Expand description

Create a user data entry for a new user.

§Errors

If the connection to the database could not be established.